>From Jeff Layton <jlay...@redhat.com>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/381714
Change subject: FSAL_CEPH: don't clobber the return code with the getlk call
......................................................................
FSAL_CEPH: don't clobber the return code with the getlk call
If a lock is denied, the code will call getlk to get the conflicting lock
info. That action then clobbers the return code and makes the lock appear
to be a success.
Also, no need to check conflicting_lock twice here.
See: https://github.com/nfs-ganesha/nfs-ganesha/issues/205
Change-Id: Ibfc8ca92bec84518573f425131ce969479ae15dd
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/FSAL/FSAL_CEPH/handle.c
1 file changed, 8 insertions(+), 9 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/14/381714/1
--
To view, visit https://review.gerrithub.io/381714
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfc8ca92bec84518573f425131ce969479ae15dd
Gerrit-Change-Number: 381714
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