diff options
author | Manoj Naik <manoj@almaden.ibm.com> | 2005-06-22 19:16:39 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 22:07:44 +0200 |
commit | 6ebf3656fd18430d90fbb3199b31d08178c37134 (patch) | |
tree | 3eddf4d1b67ffece40531d929b143a4fb30baaa3 /fs/nfs | |
parent | [PATCH] NFSv4: add support for rdattr_error in NFSv4 readdir requests. (diff) | |
download | linux-6ebf3656fd18430d90fbb3199b31d08178c37134.tar.xz linux-6ebf3656fd18430d90fbb3199b31d08178c37134.zip |
[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')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 2 |
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 { { NFS4ERR_DQUOT, EDQUOT }, { NFS4ERR_STALE, ESTALE }, { NFS4ERR_BADHANDLE, EBADHANDLE }, + { NFS4ERR_BADOWNER, EINVAL }, + { NFS4ERR_BADNAME, EINVAL }, { NFS4ERR_BAD_COOKIE, EBADCOOKIE }, { NFS4ERR_NOTSUPP, ENOTSUPP }, { NFS4ERR_TOOSMALL, ETOOSMALL }, |