Patchwork [BUG:854,1/5] nfs3: Stop ESTALE from falling into SERVERFAULT

login
register
Submitter Shehjar Tikoo
Date 2010-07-27 11:46:49
Message ID <1280231213-3137-1-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/3919/
State Accepted
Delegated to: Anand Avati
Headers show

Comments

Shehjar Tikoo - 2010-07-27 11:46:49
From: Shehjar Tikoo <shehjart@gluster.com>


Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
---
 xlators/nfs/server/src/nfs3-helpers.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index 6ec135c..0c4ca10 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -217,6 +217,7 @@  nfs3_errno_to_nfsstat3 (int errnum)
 
         case ESTALE:
                 stat = NFS3ERR_STALE;
+                break;
 
         default:
                 stat = NFS3ERR_SERVERFAULT;