fatih@gandi.net has uploaded this change for review.

View Change

NFSv4.1: implement TEST_STATEID operation

this operation was kind of no-op but according to RFC5661,
there are no current file handle associated to a TEST_STATEID operation
we should not check the file handle nor return BADFILEHANDLE according to page 375

since it is actively used by the Linux kernel, implement the operation correctly

Change-Id: Iefd7c47071601cbd357f0957069e205b3b6ef3ee
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/Protocols/NFS/nfs4_op_test_stateid.c
1 file changed, 21 insertions(+), 6 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iefd7c47071601cbd357f0957069e205b3b6ef3ee
Gerrit-Change-Number: 418826
Gerrit-PatchSet: 1
Gerrit-Owner: fatih@gandi.net