diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-04-15 12:15:58 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-05-06 04:37:09 -0700 |
commit | 306585d2e57aadc7d15951ab1114d49fd9dbf5aa (patch) | |
tree | b8fd20f2852484c6d5d0d64423067aa38a0d9a5e /xlators | |
parent | b03f9699055eed3f1c5d73e36bbe8474a1419304 (diff) |
nfs : fix for coredump caused by export/netgroup feature in the regression
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>
Diffstat (limited to 'xlators')
-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; |