Suhas Athani has uploaded this change for review.

View Change

Fix WRITE delegation check in nfs4_op_getattr()

Earlier the code compared gsh_client pointers, which failed to
differentiate distinct clients. Updated the check to use clientid
comparison so that CB_GETATTR is correctly triggered when a
different client holds the WRITE delegation.

Change-Id: I6bba2a8016978f0e1f7e3c1a5fe5ea20712737f2
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/Protocols/NFS/nfs4_op_getattr.c
1 file changed, 7 insertions(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I6bba2a8016978f0e1f7e3c1a5fe5ea20712737f2
Gerrit-Change-Number: 1223766
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>