Change in ...nfs-ganesha[next]: Get and set ACLs API for FSAL_CEPH
Zhu Shangzhong has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/478556 ) Change subject: Get and set ACLs API for FSAL_CEPH ...................................................................... Get and set ACLs API for FSAL_CEPH For ceph_get_acl, first get extended attr from CephFS by ceph_ll_getxattr, then convert the extended attr to POSIX ACLs by xattr_2_posix_acl,finally convert the POSIX ACLs to FSAL ACL by posix_acl_2_fsal_acl. For ceph_set_acl, it is a reverse procedure. Change-Id: Ie49e2fa3c84323817af733beacd04ec8c17ccfc4 Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn> Signed-off-by: Luo Muyao <luo.muyao@zte.com.cn> --- M src/FSAL/FSAL_CEPH/internal.c M src/FSAL/FSAL_CEPH/internal.h 2 files changed, 229 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/56/478556/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/478556 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ie49e2fa3c84323817af733beacd04ec8c17ccfc4 Gerrit-Change-Number: 478556 Gerrit-PatchSet: 1 Gerrit-Owner: Zhu Shangzhong <zhu.shangzhong@zte.com.cn> Gerrit-MessageType: newchange
participants (1)
-
Zhu Shangzhong (GerritHub)