diff options
author | Rajesh Amaravathi <rajesh@redhat.com> | 2012-05-15 16:00:52 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-05-19 03:28:24 -0700 |
commit | 86e0789a8e3c9e7289857fee59b9dedffc5b5e54 (patch) | |
tree | 048a19b839c6bb07ac9544f025e14f7c1c66abf2 /xlators/nfs | |
parent | ef3cd63cc95c26fdf7f7a2d8046b4686b02cb836 (diff) |
nfs/mount: avoid duplicate reply on ENOENT
Change-Id: I310e525b5bd302c0acadcc077213fbd570bf772d
BUG: 820582
Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com>
Reviewed-on: http://review.gluster.com/3355
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/nfs')
-rw-r--r-- | xlators/nfs/server/src/mount3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c index 07eea4747f5..d088b3c53ca 100644 --- a/xlators/nfs/server/src/mount3.c +++ b/xlators/nfs/server/src/mount3.c @@ -1207,6 +1207,7 @@ mnt3svc_umnt (rpcsvc_request_t *req) ret = mnt3svc_umount (ms, dirpath, hostname); if (ret == -1) { + ret = 0; mstat = MNT3ERR_NOENT; } /* FIXME: also take care of the corner case where the |