mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[PATCH] nfs_common endianness annotations
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:
parent
d21ec0c33d
commit
83bbe2ef63
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ xdr_nfsace_encode(struct xdr_array2_desc *desc, void *elem)
|
|||
{
|
||||
struct nfsacl_encode_desc *nfsacl_desc =
|
||||
(struct nfsacl_encode_desc *) desc;
|
||||
u32 *p = (u32 *) elem;
|
||||
__be32 *p = elem;
|
||||
|
||||
struct posix_acl_entry *entry =
|
||||
&nfsacl_desc->acl->a_entries[nfsacl_desc->count++];
|
||||
|
@ -127,7 +127,7 @@ xdr_nfsace_decode(struct xdr_array2_desc *desc, void *elem)
|
|||
{
|
||||
struct nfsacl_decode_desc *nfsacl_desc =
|
||||
(struct nfsacl_decode_desc *) desc;
|
||||
u32 *p = (u32 *) elem;
|
||||
__be32 *p = elem;
|
||||
struct posix_acl_entry *entry;
|
||||
|
||||
if (!nfsacl_desc->acl) {
|
||||
|
|
Loading…
Reference in a new issue