summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-05-04 04:01:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-05 04:36:01 -0700
commit716f4dc26097811161cbd59c919df11593cb46af (patch)
treeee3f2db8d655d4eaef7076eb60a7fad96dbdc663 /xlators/nfs
parent3954ddddfe6c600ff2bb8d70463bc6fb4fe67225 (diff)
nfs3: Fix NFSv3 string error for EISDIR
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 858 (Crash with afr_local_cleanup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=858
Diffstat (limited to 'xlators/nfs')
-rw-r--r--xlators/nfs/server/src/nfs3-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index 52bb7169a72..0ae67b455b2 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -67,7 +67,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" },