Jeff Layton has uploaded this change for review.

View Change

NFS: disallow layout stateids for WRITE op

RFC5661 says:

Except when special stateids are used, the stateid value for a WRITE
request represents a value returned from a previous byte-range LOCK
or OPEN request or the stateid associated with a delegation.

Layout stateids are not valid here and should be disallowed.

Change-Id: Iaf2fd97c70ce7008718e74d310091045a8c13f6c
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/Protocols/NFS/nfs4_op_write.c
1 file changed, 0 insertions(+), 4 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf2fd97c70ce7008718e74d310091045a8c13f6c
Gerrit-Change-Number: 420531
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>