• Yan, Zheng's avatar
    ceph: fix ceph_set_acl() · 7a92d647
    Yan, Zheng authored
    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: default avatarYan, Zheng <zheng.z.yan@intel.com>
    7a92d647
acl.c 4.45 KB