Assaf Yaari has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1190156?usp=email )
Change subject: commonlib: In fsal_mode_to_acl identify if can reuse aces
......................................................................
commonlib: In fsal_mode_to_acl identify if can reuse aces
When applying mode bits over NFS4 ACL, check whether existing ACL can be
reused to represent the mode.
This checks whether we have two couples of DENY & ALLOW aces at the
beginning for OWNER & GROUP, and another couple at the end for EVERYONE.
We can't rely on the existence of FSAL_ACE_IFLAG_MODE_GEN because if the
client did SETATTR for ACL, this internal flag will be lost.
Signed-off-by: Assaf Yaari <assafy(a)google.com>
Change-Id: Ibfa3d27b16b262516de1c86bd03d6f880df2487d
---
M src/FSAL/commonlib.c
M src/MainNFSD/libganesha_nfsd.ver
M src/include/FSAL/fsal_commonlib.h
3 files changed, 53 insertions(+), 12 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/56/1190156/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1190156?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ibfa3d27b16b262516de1c86bd03d6f880df2487d
Gerrit-Change-Number: 1190156
Gerrit-PatchSet: 1
Gerrit-Owner: Assaf Yaari <assafy(a)google.com>