summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-07-27 06:16:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-28 02:24:37 -0700
commit5e67bfb1dbb279e210d7ad1310818ef4a08ab913 (patch)
tree3df562b32b891f658c25bfd7e2d4396675a8b942
parentabbc27d2b1460a10d7168114f2252313b98e4a08 (diff)
nfs3: Stop ESTALE from falling into SERVERFAULT
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 854 (nfs server didn't start) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=854
-rw-r--r--xlators/nfs/server/src/nfs3-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index cdd808419fa..ada6f88f1b4 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -218,6 +218,7 @@ nfs3_errno_to_nfsstat3 (int errnum)
case ESTALE:
stat = NFS3ERR_STALE;
+ break;
default:
stat = NFS3ERR_SERVERFAULT;