>From Soumya <skod...@redhat.com>:

Soumya has uploaded a new change for review.

  https://review.gerrithub.io/302978

Change subject: add-export: Remove an extra ref in case of failures
......................................................................

add-export: Remove an extra ref in case of failures

insert_gsh_export() takes two references - one for sentinal
ref and another for use throughout export_commit. That means
in case of any failures at later point, we need to unref twice.
But that wasn't the case in the current code. Fixed the same.

Change-Id: I62efc43a24d536fe40ccf058d320e3517b521026
Signed-off-by: Soumya Koduri <skod...@redhat.com>
---
M src/support/exports.c
1 file changed, 4 insertions(+), 3 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I62efc43a24d536fe40ccf058d320e3517b521026
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Soumya <skod...@redhat.com>

------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to