NFS: Create an NFS v3 stat_to_errno()
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 10 May 2012 20:47:18 +0000 (16:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 May 2012 00:42:21 +0000 (17:42 -0700)
commit5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7
tree866a46d16889cdf7a64eeabfab952707c1b45397
parent87c7083dc3eba802d6e9f312ec520a4814f59871
NFS: Create an NFS v3 stat_to_errno()

In theory, NFS v3 can have different error versions than NFS v2. v4 is
already using its own nfs4_stat_to_errno() to map error codes, so
rather than create something in the generic client for v2 and v3 to
share I instead give v3 its own function.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c