Assaf Yaari has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1190158?usp=email )
Change subject: commonlib: Skip redundant aces in mode_to_acl
......................................................................
commonlib: Skip redundant aces in mode_to_acl
In fsal_mode_to_acl we generate (or reuse) spedial id aces in order to
represent the owner, group and other mode bits.
Existing (in the middle) such aces, are cleaned from those permissions
bits. If those aces don't include permissions like DELETE or DELETE-CHILD
(which are not covered by the mode bits), they can be skipped and not
being copied.
Signed-off-by: Assaf Yaari <assafy(a)google.com>
Change-Id: I2fb346a6d2541d5b8692546bb44fbbb4849e95c1
---
M src/FSAL/commonlib.c
1 file changed, 31 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/58/1190158/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1190158?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: I2fb346a6d2541d5b8692546bb44fbbb4849e95c1
Gerrit-Change-Number: 1190158
Gerrit-PatchSet: 1
Gerrit-Owner: Assaf Yaari <assafy(a)google.com>