Btrfs: Make ACLs return EOPNOTSUPP for now
commit1caf9342fc71d020e788a59598a44d4ea0136b36
authorJosef Bacik <jbacik@redhat.com>
Mon, 19 Nov 2007 15:18:17 +0000 (19 10:18 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000 (25 11:03 -0400)
treee54d756bd124515b262f56b22cd9c169b8b00027
parent5cf664263b05beb080bf95037e4c3bd50c80b096
Btrfs: Make ACLs return EOPNOTSUPP for now

There was a slight problem with ACL's returning EINVAL when you tried to set an
ACL.  This isn't correct, we should be returning EOPNOTSUPP, so I did a very
ugly thing and just commented everybody out and made them return EOPNOTSUPP.
This is only temporary, I'm going back to implement ACL's, but Chris wants to
push out a release so this will suffice for now.

Also Yan suggested setting reada to -1 in the delete case to enable backwards
readahead, and in the listxattr case I moved path->reada = 2; to after the if
(!path) check so we can avoid a possible null dereference.  Thank you,

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/acl.c
fs/btrfs/xattr.c