projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
393faff
)
NFSv4: Fix an incorrect pointer declaration in decode_first_pnfs_layout_type
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 21 Aug 2013 01:08:56 +0000
(21:08 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Aug 2013 12:58:15 +0000
(08:58 -0400)
We always encode to __be32 format in XDR: silences a sparse warning.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Andy Adamson <andros@netapp.com>
fs/nfs/nfs4xdr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4xdr.c
b/fs/nfs/nfs4xdr.c
index 133626318149a59d08564d37c9c5634df82bda4f..4593728b9d0be4eb8885558445400c733f660947 100644
(file)
--- a/
fs/nfs/nfs4xdr.c
+++ b/
fs/nfs/nfs4xdr.c
@@
-4630,7
+4630,7
@@
static int decode_getfattr(struct xdr_stream *xdr, struct nfs_fattr *fattr,
static int decode_first_pnfs_layout_type(struct xdr_stream *xdr,
uint32_t *layouttype)
{
-
uint32_t
*p;
+
__be32
*p;
int num;
p = xdr_inline_decode(xdr, 4);