Btrfs: fix return value of btrfs_get_acl()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 6 Oct 2011 04:37:08 +0000 (13:37 +0900)
committerDavid Sterba <dsterba@suse.cz>
Thu, 20 Oct 2011 16:10:47 +0000 (18:10 +0200)
In btrfs_get_acl(), when the second __btrfs_getxattr() call fails,
acl is not correctly set.
Therefore, a wrong value might return to the caller.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>

No differences found