Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1223914?usp=email )
Change subject: Ensure delegation grant for read+write access
......................................................................
Ensure delegation grant for read+write access
Delegations are denied when clients request both read and write
access (OPEN4_SHARE_ACCESS_READ | OPEN4_SHARE_ACCESS_WRITE).
Added !(args->share_access & OPEN4_SHARE_ACCESS_WRITE) to the first
condition in should_we_grant_deleg() to exclude read+write requests
from the read-only contention check.
Change-Id: Ie4aa157d65551e98a3945a8fb2427059c03476ab
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/SAL/state_deleg.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/1223914/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1223914?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: Ie4aa157d65551e98a3945a8fb2427059c03476ab
Gerrit-Change-Number: 1223914
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>