fatih@gandi.net has uploaded this change for review.
FSAL_MDCACHE: avoid assertion due to wrong check
the check for op_ctx looks wrong
it should get the export from first_export_id if either:
- op_ctx is NULL or op_ctx->ctx_export is NULL
- ctx_export->export_id != first_export_id
otherwise we may hit one of the assertions below
we hit "assert(op_ctx->ctx_export);" while running ganesha
Change-Id: I378362ec777fa690ce63515ca1bc13bf1c9c128d
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/69/422269/1
To view, visit change 422269. To unsubscribe, or for help writing mail filters, visit settings.