>From Jiffin Tony Thottan <[email protected]>:

Jiffin Tony Thottan has uploaded a new change for review.

  https://review.gerrithub.io/246586

Change subject: FSAL_GLUSTER : Clean the glfd and set close flag properly in 
file_close()
......................................................................

FSAL_GLUSTER : Clean the glfd and set close flag properly in file_close()

Previously glfd holds by obj->hdl in ganesha will set to NULL only if
glfs_close() succeed. But actually this glfd will be already freed by
glfs_close(). Thus ganesha holds an invalid glfd. Since close flag is
not set, any further fop hitting same file might end up by using this
invalid glfd.

Change-Id: I2cbc40d7956391e7a839cdf3e589dbddb10040c2
Signed-off-by: Jiffin Tony Thottan <[email protected]>
---
M src/FSAL/FSAL_GLUSTER/handle.c
1 file changed, 1 insertion(+), 4 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2cbc40d7956391e7a839cdf3e589dbddb10040c2
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Jiffin Tony Thottan <[email protected]>

------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to