]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb32f336823e4deef797a09e73ae6addabb9e0b67
tree866a46d16889cdf7a64eeabfab952707c1b45397
parente1a9d4c25bd991fbeaadb63550c0580fc3b5ea1b
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