diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-05-22 18:33:42 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-22 18:33:42 +0200 |
commit | 945d8962ceee6bb273365d0bdf42f763225b290f (patch) | |
tree | 43f5617022c7c947c3c63664e49eb9575ab82f2f /fs/btrfs/acl.c | |
parent | Btrfs: update the delayed inode code to use the btrfs_ino helper. (diff) | |
parent | btrfs: use unsigned type for single bit bitfield (diff) | |
download | linux-945d8962ceee6bb273365d0bdf42f763225b290f.tar.xz linux-945d8962ceee6bb273365d0bdf42f763225b290f.zip |
Merge branch 'cleanups' of git://repo.or.cz/linux-2.6/btrfs-unstable into inode_numbers
Conflicts:
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/tree-log.c
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/acl.c')
-rw-r--r-- | fs/btrfs/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c index 44ea5b92e1ba..f66fc9959733 100644 --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c @@ -288,7 +288,7 @@ int btrfs_acl_chmod(struct inode *inode) return 0; acl = btrfs_get_acl(inode, ACL_TYPE_ACCESS); - if (IS_ERR(acl) || !acl) + if (IS_ERR_OR_NULL(acl)) return PTR_ERR(acl); clone = posix_acl_clone(acl, GFP_KERNEL); |