summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2018-10-16 16:45:34 +0530
committerAmar Tumballi <amarts@redhat.com>2018-10-16 16:29:27 +0000
commit573253d250972dad60ec28cd101f9facd82a0fe2 (patch)
tree07da6aac2e5e439e744d5f9fe5a2c49bdc666c73 /xlators
parenta9c232319f28376f88ac624ac132413ec408b784 (diff)
nfs : fix coverity issue in nfs3.c
This patch fixes CID 1274073. updates: bz#789278 Change-Id: I34146bfdfe19bae4592062e710a89ab07b2c5c07 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/nfs/server/src/nfs3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c
index eaae4ebd12d..d8e41680008 100644
--- a/xlators/nfs/server/src/nfs3.c
+++ b/xlators/nfs/server/src/nfs3.c
@@ -3360,7 +3360,7 @@ nfs3_mknod(rpcsvc_request_t *req, struct nfs3_fh *fh, char *name,
break;
default:
ret = -EBADF;
- break;
+ goto nfs3err;
}
cs->parent = *fh;