[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>
This commit is contained in:
@@ -583,8 +583,8 @@ err_unmap:
|
||||
goto out;
|
||||
}
|
||||
|
||||
u32 *
|
||||
nfs3_decode_dirent(u32 *p, struct nfs_entry *entry, int plus)
|
||||
__be32 *
|
||||
nfs3_decode_dirent(__be32 *p, struct nfs_entry *entry, int plus)
|
||||
{
|
||||
struct nfs_entry old = *entry;
|
||||
|
||||
|
Reference in New Issue
Block a user