Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1237020?usp=email )
Change subject: NFSv4.1+: return invalid stateid on replayed CLOSE success (#1395)
......................................................................
NFSv4.1+: return invalid stateid on replayed CLOSE success (#1395)
Fix nfs4_op_close() to return the RFC5661-recommended invalid stateid
(other=0, seqid=UINT32_MAX) for NFSv4.1+ when a CLOSE is treated as
replay/duplicate (object/open-owner refs unavailable). This avoids
returning a valid-looking stateid.other on CLOSE success.
Change-Id: Iea7013e90f7a1f7bd497d390cbabfe9463f65085
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_close.c
1 file changed, 22 insertions(+), 7 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/20/1237020/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1237020?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: Iea7013e90f7a1f7bd497d390cbabfe9463f65085
Gerrit-Change-Number: 1237020
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>