nfs-ganesha/nfs-ganesha-2.4dev17-FSAL-f...

12 lines
487 B
Diff

--- nfs-ganesha-2.4-dev-17/src/FSAL/fsal_helper.c.orig 2016-05-10 07:22:14.695046076 -0400
+++ nfs-ganesha-2.4-dev-17/src/FSAL/fsal_helper.c 2016-05-10 07:23:13.590046076 -0400
@@ -1442,7 +1442,7 @@
status = get_dirent(obj, &cb_parms, cookie, state);
if (status.major == ERR_FSAL_CROSS_JUNCTION) {
struct fsal_obj_handle *junction_obj;
- struct gsh_export *junction_export;
+ struct gsh_export *junction_export = NULL;
PTHREAD_RWLOCK_rdlock(&obj->state_hdl->state_lock);