diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-02-11 13:08:51 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-02-17 12:37:11 -0800 |
commit | 7a92d64760541e66bf5d1131f029b82773ce3922 (patch) | |
tree | cf836380fbeb42b5407aeaf42de47b81860cadde /fs/ceph/file.c | |
parent | 524186ace6c4dcc83975b858622a66888b018fd0 (diff) | |
download | op-kernel-dev-7a92d64760541e66bf5d1131f029b82773ce3922.zip op-kernel-dev-7a92d64760541e66bf5d1131f029b82773ce3922.tar.gz |
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 <zheng.z.yan@intel.com>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions