projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0243d
)
NFS: cleanup endian type in decode_ds_addr()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 12 Jan 2012 07:07:35 +0000
(10:07 +0300)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 12 Jan 2012 21:30:03 +0000
(16:30 -0500)
port is supposed to be a __be16 here. The existing code should work
fine, but this is a cleanup.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayoutdev.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4filelayoutdev.c
b/fs/nfs/nfs4filelayoutdev.c
index
ed388aa
..
8ae9190
100644
(file)
--- a/
fs/nfs/nfs4filelayoutdev.c
+++ b/
fs/nfs/nfs4filelayoutdev.c
@@
-382,7
+382,7
@@
decode_ds_addr(struct xdr_stream *streamp, gfp_t gfp_flags)
{
struct nfs4_pnfs_ds_addr *da = NULL;
char *buf, *portstr;
-
u32
port;
+
__be16
port;
int nlen, rlen;
int tmp[2];
__be32 *p;