| Submitter | Gaurav |
|---|---|
| Date | 2011-04-21 09:28:48 |
| Message ID | <1303378128-13657-1-git-send-email-gaurav@gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/7008/ |
| State | Accepted |
| Headers | show |
Comments
Reviewed OK. gaurav@gluster.com wrote: > From: Gaurav <gaurav@gluster.com> > > > Signed-off-by: Gaurav <gaurav@gluster.com> > --- > 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 cce4574..4bf1138 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; > } > } >
Patch
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index cce4574..4bf1138 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; } }