Madhu Thorat has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/471377 )
Change subject: GPFS: symlink: Use fsal_internal_close() to close FDs
......................................................................
GPFS: symlink: Use fsal_internal_close() to close FDs
In GPFS FSAL code, fsal_internal_handle2fd() is called to
open FD for symbolic links. fsal_internal_handle2fd()
increments the open_fd_count (global file descriptor counter).
But close() is called to close FDs for symbolic link, and
open_fd_count is not decremented.
To fix this we now call GPFS FSAL specific fsal_internal_close()
which takes care of closing the FD and decrementing the
open_fd_count as well.
Change-Id: Idd38be334dfa4ac83ae9f1e5dfbbc3f1af5225a3
Signed-off-by: Madhu Thorat <madhu.punjabi(a)in.ibm.com>
---
M src/FSAL/FSAL_GPFS/fsal_symlinks.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/77/471377/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/471377
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: Idd38be334dfa4ac83ae9f1e5dfbbc3f1af5225a3
Gerrit-Change-Number: 471377
Gerrit-PatchSet: 1
Gerrit-Owner: Madhu Thorat <madhu.punjabi(a)in.ibm.com>
Gerrit-MessageType: newchange