diff options
| author | Gaurav <gaurav@gluster.com> | 2011-04-21 03:58:48 +0000 | 
|---|---|---|
| committer | Anand Avati <avati@gluster.com> | 2011-05-03 12:13:15 -0700 | 
| commit | 0336456447f636f6fcf8e53bbfb6295d40434fdf (patch) | |
| tree | aaac7c5083a95a191005bb566f0bb6cc10dab26b /xlators/nfs/server/src/nfs.c | |
| parent | 6b02f2ac6a3889af0b0e1cdb4402352379b37539 (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
Diffstat (limited to 'xlators/nfs/server/src/nfs.c')
| -rw-r--r-- | xlators/nfs/server/src/nfs.c | 4 | 
1 files changed, 2 insertions, 2 deletions
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;                  }          }  | 
