summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-05-10 22:47:18 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-15 02:42:21 +0200
commit5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7 (patch)
tree866a46d16889cdf7a64eeabfab952707c1b45397 /fs/nfs/internal.h
parentNFS: Pass mntfh as part of the nfs_mount_info structure (diff)
downloadlinux-5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7.tar.xz
linux-5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7.zip
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>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 4e9b0ff30f66..bf64095f850d 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -208,7 +208,6 @@ extern void nfs_pgheader_init(struct nfs_pageio_descriptor *desc,
void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos);
/* nfs2xdr.c */
-extern int nfs_stat_to_errno(enum nfs_stat);
extern struct rpc_procinfo nfs_procedures[];
extern int nfs2_decode_dirent(struct xdr_stream *,
struct nfs_entry *, int);