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/nfs3xdr.c | |
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/nfs3xdr.c')
-rw-r--r-- | fs/nfs/nfs3xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index b4e740e4494a..0ace092d126f 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c | |||
@@ -583,8 +583,8 @@ err_unmap: | |||
583 | goto out; | 583 | goto out; |
584 | } | 584 | } |
585 | 585 | ||
586 | u32 * | 586 | __be32 * |
587 | nfs3_decode_dirent(u32 *p, struct nfs_entry *entry, int plus) | 587 | nfs3_decode_dirent(__be32 *p, struct nfs_entry *entry, int plus) |
588 | { | 588 | { |
589 | struct nfs_entry old = *entry; | 589 | struct nfs_entry old = *entry; |
590 | 590 | ||