diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c index 83fdd80c51c659ed6f3945dfd1742c2774fafde9..a1d7211c88846fa5e4ace5acf01ff4499c309ce4 100644 --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c @@ -42,7 +42,7 @@ struct posix_acl *btrfs_get_acl(struct inode *inode, int type) } if (size > 0) { acl = posix_acl_from_xattr(&init_user_ns, value, size); - } else if (size == -ERANGE || size == -ENODATA || size == 0) { + } else if (size == -ENODATA || size == 0) { acl = NULL; } else { acl = ERR_PTR(-EIO);