diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-04-15 12:15:58 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-07 04:45:58 -0700 |
commit | f2244001dfec1b9c313c23526415e7ff9e03ad6f (patch) | |
tree | b497fb6415b01a070930f585f3ddb64e86a65b50 /xlators/nfs | |
parent | 580759939dbcf835cb5293638060e8dbc41c7bea (diff) |
nfs : fix for coredump caused by export/netgroup feature in the regression
Backport of http://review.gluster.org/#/c/10250/
cherry-picked from 306585d2e57aadc7d15951ab1114d49fd9dbf5aa
>Change-Id: Idaae234b9e81c40040393e748db1f61363a48ed0
>BUG: 1211913
>Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
>Reviewed-on: http://review.gluster.org/10250
>Tested-by: Gluster Build System <jenkins@build.gluster.com>
>Reviewed-by: Niels de Vos <ndevos@redhat.com>
Change-Id: Ic6d6b2f8fc0629678f0adb59e967e73c0923977a
BUG: 1212182
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/10618
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/nfs')
-rw-r--r-- | xlators/nfs/server/src/exports.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/exports.c b/xlators/nfs/server/src/exports.c index 3c80fc9ea0f..b000b7e8118 100644 --- a/xlators/nfs/server/src/exports.c +++ b/xlators/nfs/server/src/exports.c @@ -1222,6 +1222,7 @@ exp_dir_get_netgroup (const struct export_dir *expdir, const char *netgroup) if (!dict_res) { gf_msg_debug (GF_EXP, 0, "%s not found for %s", netgroup, expdir->dir_name); + goto out; } lookup_res = (struct export_item *)dict_res->data; |