From: Yan, Zheng Date: Tue, 11 Feb 2014 05:08:51 +0000 (+0800) Subject: ceph: fix ceph_set_acl() X-Git-Tag: v3.14-rc4~34^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a92d64760541e66bf5d1131f029b82773ce3922;p=pandora-kernel.git ceph: fix ceph_set_acl() If acl is equivalent to file mode permission bits, ceph_set_acl() needs to remove any existing acl xattr. Use __ceph_setxattr() to handle both setting and removing acl xattr cases, it doesn't return -ENODATA when there is no acl xattr. Signed-off-by: Yan, Zheng --- Reading git-diff-tree failed