diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-20 02:28:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:40 -0400 |
commit | 0dbb4c6799cf8fa8c5ba1926153a30960117477d (patch) | |
tree | 9d8f75f2f407a5758fa4ef3d8c03694f138c3304 /fs/nfs/internal.h | |
parent | 8687b63afbe42103730bff4d3f7bfff3463c303e (diff) |
[PATCH] xdr annotations: NFS readdir entries
on-the-wire data is big-endian
[in large part pulled from Alexey's patch]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index bea0b016bd70..d205466233f6 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -93,15 +93,15 @@ extern void nfs_destroy_directcache(void); | |||
93 | /* nfs2xdr.c */ | 93 | /* nfs2xdr.c */ |
94 | extern int nfs_stat_to_errno(int); | 94 | extern int nfs_stat_to_errno(int); |
95 | extern struct rpc_procinfo nfs_procedures[]; | 95 | extern struct rpc_procinfo nfs_procedures[]; |
96 | extern u32 * nfs_decode_dirent(u32 *, struct nfs_entry *, int); | 96 | extern __be32 * nfs_decode_dirent(__be32 *, struct nfs_entry *, int); |
97 | 97 | ||
98 | /* nfs3xdr.c */ | 98 | /* nfs3xdr.c */ |
99 | extern struct rpc_procinfo nfs3_procedures[]; | 99 | extern struct rpc_procinfo nfs3_procedures[]; |
100 | extern u32 *nfs3_decode_dirent(u32 *, struct nfs_entry *, int); | 100 | extern __be32 *nfs3_decode_dirent(__be32 *, struct nfs_entry *, int); |
101 | 101 | ||
102 | /* nfs4xdr.c */ | 102 | /* nfs4xdr.c */ |
103 | #ifdef CONFIG_NFS_V4 | 103 | #ifdef CONFIG_NFS_V4 |
104 | extern u32 *nfs4_decode_dirent(u32 *p, struct nfs_entry *entry, int plus); | 104 | extern __be32 *nfs4_decode_dirent(__be32 *p, struct nfs_entry *entry, int plus); |
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | /* nfs4proc.c */ | 107 | /* nfs4proc.c */ |