>From Gui Hecheng <guim...@126.com>:
Gui Hecheng has uploaded a new change for review. (
https://review.gerrithub.io/350082
Change subject: fix segfault when mounting due to dereferencing before
assignment
......................................................................
fix segfault when mounting due to dereferencing before assignment
The is_superuser() check is introduced as a member function of
fsal_export, but the op_ctx->fsal_export is NULL when the function
is called to check access, so move the assignment above the check.
Change-Id: If3cc27776ec0d2b8bfca02eece83179aab368b61
Signed-off-by: Gui Hecheng <guihech...@cmss.chinamobile.com>
---
M src/Protocols/NFS/nfs4_op_putfh.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha
refs/changes/82/350082/1
--
To view, visit https://review.gerrithub.io/350082
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If3cc27776ec0d2b8bfca02eece83179aab368b61
Gerrit-Change-Number: 350082
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Gui Hecheng <guim...@126.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel