Malahal has uploaded this change for review.

View Change

NFSv4.1 CLOSE/LOCK race fix

Clients (buggy?) may send CLOSE and LOCK requests at the sametime for
the same open state. We shouldn't add lock state to an already closed
open state. Fail the lock request if the open state is closed.

Change-Id: I0a2b781abdb511753d2730ac0dcb9c4affca525d
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
---
M src/Protocols/NFS/nfs4_op_lock.c
1 file changed, 22 insertions(+), 0 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I0a2b781abdb511753d2730ac0dcb9c4affca525d
Gerrit-Change-Number: 497940
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal@gmail.com>
Gerrit-MessageType: newchange