Merge tag 'ntb-4.8' of git://github.com/jonmason/ntb
[deliverable/linux.git] / fs / btrfs / acl.c
index 67a607709d4f7eb18d941cf1a70c7d00a7afba66..53bb7af4e5f06cfb1b0a38e167b7cc880fd8aefe 100644 (file)
@@ -55,8 +55,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 == -ENOENT || size == -ENODATA || size == 0) {
-               /* FIXME, who returns -ENOENT?  I think nobody */
+       } else if (size == -ERANGE || size == -ENODATA || size == 0) {
                acl = NULL;
        } else {
                acl = ERR_PTR(-EIO);
This page took 0.025055 seconds and 5 git commands to generate.