Patchwork [BUG:858] nfs3: Fix NFSv3 string error for EISDIR

login
register
Submitter Shehjar Tikoo
Date 2010-05-04 09:31:30
Message ID <1272965490-21501-1-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/3217/
State Accepted
Headers show

Comments

Shehjar Tikoo - 2010-05-04 09:31:30
From: Shehjar Tikoo <shehjart@gluster.com>


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

Patch

diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index 72861df..0b92fb9 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -66,7 +66,7 @@  struct nfs3stat_strerror nfs3stat_strerror_table[] = {
         { NFS3ERR_XDEV,         "Attempt to do a cross-device hard link"},
         { NFS3ERR_NODEV,        "No such device"                        },
         { NFS3ERR_NOTDIR,       "Not a directory"                       },
-        { NFS3ERR_ISDIR,        "Not a directory"                       },
+        { NFS3ERR_ISDIR,        "Is a directory"                        },
         { NFS3ERR_INVAL,        "Invalid argument for operation"        },
         { NFS3ERR_FBIG,         "File too large"                        },
         { NFS3ERR_NOSPC,        "No space left on device"               },