aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorManoj Naik <manoj@almaden.ibm.com>2005-06-22 13:16:39 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:44 -0400
commit6ebf3656fd18430d90fbb3199b31d08178c37134 (patch)
tree3eddf4d1b67ffece40531d929b143a4fb30baaa3 /fs/nfs/nfs4xdr.c
parent97d312d037e63e7c8ac004ffe3072f82a6d45495 (diff)
[PATCH] NFSv4: Map a couple of NFSv4 errors to EINVAL.
This shows up on running tar over NFSv4. Signed-off-by: Manoj Naik <manoj@almaden.ibm.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 4d655d252c6d..577b4429c8f6 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4109,6 +4109,8 @@ static struct {
4109 { NFS4ERR_DQUOT, EDQUOT }, 4109 { NFS4ERR_DQUOT, EDQUOT },
4110 { NFS4ERR_STALE, ESTALE }, 4110 { NFS4ERR_STALE, ESTALE },
4111 { NFS4ERR_BADHANDLE, EBADHANDLE }, 4111 { NFS4ERR_BADHANDLE, EBADHANDLE },
4112 { NFS4ERR_BADOWNER, EINVAL },
4113 { NFS4ERR_BADNAME, EINVAL },
4112 { NFS4ERR_BAD_COOKIE, EBADCOOKIE }, 4114 { NFS4ERR_BAD_COOKIE, EBADCOOKIE },
4113 { NFS4ERR_NOTSUPP, ENOTSUPP }, 4115 { NFS4ERR_NOTSUPP, ENOTSUPP },
4114 { NFS4ERR_TOOSMALL, ETOOSMALL }, 4116 { NFS4ERR_TOOSMALL, ETOOSMALL },