Suhas Athani has uploaded this change for review.

View Change

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@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 change 1223914. To unsubscribe, or for help writing mail filters, visit settings.

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@ibm.com>