Xueqian Hu has uploaded this change for review.

View Change

mdc_up_invalidate to release acl in entry->attrs

Currently we don't have a good option to invalidate acl in entry->attrs.
When a FSAL support chmod to delete ACL, new attr won't have ACL.
However, mdc_update_attr_cache will keep the stale ACL if ACL is
previously present.

In this change, we let mdc_up_invalidate to release acl in entry-attrs,
so a FSAL will have an option to invalidate & release ACL.

Change-Id: I6ab0e2e67f10ad81154ac5b8aea99281c341a1dc
Signed-off-by: Xueqian Hu <xh140312@outlook.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_up.c
1 file changed, 10 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/06/1218306/1

To view, visit change 1218306. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I6ab0e2e67f10ad81154ac5b8aea99281c341a1dc
Gerrit-Change-Number: 1218306
Gerrit-PatchSet: 1
Gerrit-Owner: Xueqian Hu <xh140312@outlook.com>