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

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


Change subject: nfs: fix error handling in layoutrecall code
......................................................................

nfs: fix error handling in layoutrecall code

We need to free any FH data on error here, but at the point where we
call gsh_free on it in layoutrecall, that pointer will likely just
have junk in it.

Conversely, in the event that the call submission fails, we currently
just leak the FH data. Fix the code to free it appropriately in that
case.

Change-Id: I3c8910bc9f2f1a024a3b4b83f691f2e0eaf56118
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/FSAL_UP/fsal_up_top.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c8910bc9f2f1a024a3b4b83f691f2e0eaf56118
Gerrit-Change-Number: 376678
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