diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-05-10 16:47:18 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-14 20:42:21 -0400 |
commit | 5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7 (patch) | |
tree | 866a46d16889cdf7a64eeabfab952707c1b45397 /fs/nfs/internal.h | |
parent | 87c7083dc3eba802d6e9f312ec520a4814f59871 (diff) |
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.h | 1 |
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, | |||
208 | void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos); | 208 | void nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos); |
209 | 209 | ||
210 | /* nfs2xdr.c */ | 210 | /* nfs2xdr.c */ |
211 | extern int nfs_stat_to_errno(enum nfs_stat); | ||
212 | extern struct rpc_procinfo nfs_procedures[]; | 211 | extern struct rpc_procinfo nfs_procedures[]; |
213 | extern int nfs2_decode_dirent(struct xdr_stream *, | 212 | extern int nfs2_decode_dirent(struct xdr_stream *, |
214 | struct nfs_entry *, int); | 213 | struct nfs_entry *, int); |