summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaurav <gaurav@gluster.com>2011-04-21 04:23:22 +0000
committerAnand Avati <avati@gluster.com>2011-05-31 21:54:21 -0700
commit105cc9a772e524cbe1729c868cb4748187342e9f (patch)
tree48b9acfd58cdf190ed5adb55ae528f8fe7ef9bbc
parentc52f66ee096c9c4fb6384427e1b5435ba5718990 (diff)
NFS : Use proper exit point in nfs_init_state.
Signed-off-by: Gaurav <gaurav@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2695 (Mac host showmount -a not working.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2695
-rw-r--r--xlators/nfs/server/src/nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 198557d2e7a..bdb8a1c9a61 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -504,14 +504,14 @@ nfs_init_state (xlator_t *this)
&optstr);
if (ret < 0) {
gf_log (GF_NFS, GF_LOG_ERROR, "Failed to parse dict");
- goto free_foppool;
+ goto free_rpcsvc;
}
ret = gf_string2uint (optstr, &nfs->memfactor);
if (ret < 0) {
gf_log (GF_NFS, GF_LOG_ERROR, "Failed to parse uint "
"string");
- goto free_foppool;
+ goto free_rpcsvc;
}
}