]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix .32 btrfs patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 17:48:18 +0000 (10:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 17:48:18 +0000 (10:48 -0700)
queue-2.6.32/btrfs-should-add-a-permission-check-for-setfacl.patch

index 4eae627eb783fde85b52fe0e9fa459d5660d3f82..91bf1d6d558ca0551eb0bb354e04cb978a6de53d 100644 (file)
@@ -50,7 +50,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
        int ret = 0;
        struct posix_acl *acl = NULL;
  
-+      if (!is_owner_or_cap(dentry->d_inode))
++      if (!is_owner_or_cap(inode))
 +              return -EPERM;
 +
        if (value) {