Subject: [patch 1/1] nfs4err_bad Map a couple of NFSv4 errors to EINVAL. This shows up on running tar over NFSv4. Signed-off-by: Manoj Naik Signed-off-by: Trond Myklebust --- nfs4xdr.c | 2 ++ 1 files changed, 2 insertions(+) Index: linux-2.6.12-rc4/fs/nfs/nfs4xdr.c =================================================================== --- linux-2.6.12-rc4.orig/fs/nfs/nfs4xdr.c +++ linux-2.6.12-rc4/fs/nfs/nfs4xdr.c @@ -4215,6 +4215,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 },