]> err.no Git - linux-2.6/commitdiff
[PATCH] NFSv4: Map a couple of NFSv4 errors to EINVAL.
authorManoj Naik <manoj@almaden.ibm.com>
Wed, 22 Jun 2005 17:16:39 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:44 +0000 (16:07 -0400)
 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>
fs/nfs/nfs4xdr.c

index 4d655d252c6db85d39172e6002c5fee13afb85ea..577b4429c8f61a27b3329e045d3d8635f70ad8d7 100644 (file)
@@ -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       },