[S] Change in ...nfs-ganesha[next]: Fix for ganesha crash after removal of first export
by Name of user not set (GerritHub)
yogendra858(a)yahoo.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1174580?usp=email )
Change subject: Fix for ganesha crash after removal of first export
......................................................................
Fix for ganesha crash after removal of first export
In GPFSFSAL_UP_Thread, for any upcall received, to setup up_vector,
gpfs_filesystem_export_map of first entry in gpfs_fs->exports is
used. If first export is removed, then this export is not valid anymore
and subsequent upcalls using this export will lead to ganesha crash
Fix is to delete gpfs_filesystem_export_map when corresponding export is
removed.
Change-Id: I7eba751cbb35dcc5114c834cd7eeb8fa28c5d075
Signed-off-by: Yogendra Charya Tangalapally <Yogendra.Tangalapally(a)ibm.com>
---
M src/FSAL/FSAL_GPFS/export.c
M src/FSAL/FSAL_GPFS/gpfs_methods.h
2 files changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/80/1174580/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1174580?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I7eba751cbb35dcc5114c834cd7eeb8fa28c5d075
Gerrit-Change-Number: 1174580
Gerrit-PatchSet: 1
Gerrit-Owner: yogendra858(a)yahoo.com