Change in ...nfs-ganesha[next]: GPFSFSAL_lookup: Close 'parent_fd' immediately after getting file handle
Madhu Thorat has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/471389 ) Change subject: GPFSFSAL_lookup: Close 'parent_fd' immediately after getting file handle ...................................................................... GPFSFSAL_lookup: Close 'parent_fd' immediately after getting file handle In GPFSFSAL_lookup() we don't use 'parent_fd' after calling fsal_internal_get_handle_at(..) to get file handle 'fh'. Thus we can close 'parent_fd' immediately after getting 'fh'. Made the change for the same, and removed call to fsal_internal_close(parent_fd, NULL, 0) at other places in the same function. Change-Id: Id477814dac223297a8251749217a72b0210a2214 Signed-off-by: Madhu Thorat <madhu.punjabi@in.ibm.com> --- M src/FSAL/FSAL_GPFS/fsal_lookup.c 1 file changed, 7 insertions(+), 5 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/89/471389/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/471389 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Id477814dac223297a8251749217a72b0210a2214 Gerrit-Change-Number: 471389 Gerrit-PatchSet: 1 Gerrit-Owner: Madhu Thorat <madhu.punjabi@in.ibm.com> Gerrit-MessageType: newchange
participants (1)
-
Madhu Thorat (GerritHub)