From 0336456447f636f6fcf8e53bbfb6295d40434fdf Mon Sep 17 00:00:00 2001 From: Gaurav Date: Thu, 21 Apr 2011 03:58:48 +0000 Subject: NFS : Use proper exit point in nfs_init_state. Signed-off-by: Gaurav Signed-off-by: Anand Avati BUG: 2695 (Mac host showmount -a not working.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2695 --- xlators/nfs/server/src/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/nfs/server/src') diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index c2dd16b6b56..2bc20d04e34 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; } } -- cgit