summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/nfs/server/src/mount3.c1
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