>From Jeff Layton <jlay...@redhat.com>:

Jeff Layton has uploaded this change for review. ( 
https://review.gerrithub.io/391986


Change subject: NFS: don't trash stateid when returning error on FREE_STATEID
......................................................................

NFS: don't trash stateid when returning error on FREE_STATEID

We currently return NFS4ERR_LOCKS_HELD, but go ahead and delete the
stateid anyway. Move the op_ctx manipulation up a bit in the function
and only delete the stateid if we're going to return NFS4_OK.

Change-Id: I1425e3c3246ccd3fa13bd07e06069677b71abcfa
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/Protocols/NFS/nfs4_op_free_stateid.c
1 file changed, 3 insertions(+), 7 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/86/391986/1
-- 
To view, visit https://review.gerrithub.io/391986
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1425e3c3246ccd3fa13bd07e06069677b71abcfa
Gerrit-Change-Number: 391986
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to