Frank Filz has uploaded this change for review.

View Change

Only return OPEN_DELEGATE_NONE_EXT if delegations WANTed

Only return OPEN_DELEGATE_NONE_EXT if one of the
OPEN4_SHARE_ACCESS_WANT_DELEG_xxx flags is specified on the request,
otherwise stick with OPEN_DELEGATE_NONE.

The code will fill in delegation.open_delegation4_u.od_whynone.ond_why
for any delegation rejection, however, the XDR will ignore that if
delegation.delegation_type is OPEN_DELEGATE_NONE.

Change-Id: Ia14c93b2835f7c6ce3cbd5b2273b4b0398c362c3
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/Protocols/NFS/nfs4_op_open.c
1 file changed, 5 insertions(+), 3 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ia14c93b2835f7c6ce3cbd5b2273b4b0398c362c3
Gerrit-Change-Number: 470892
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange