projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9943d1
)
NFSv4: Deal with a sparse warning in nfs4_opendata_alloc
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 21 Aug 2013 01:06:49 +0000
(21:06 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Aug 2013 12:58:13 +0000
(08:58 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index f50ad28689e4dc63d47763b3c1bc323205905cab..3bc163212ab6e507d61be018117392e9b117f9a2 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-933,7
+933,7
@@
static struct nfs4_opendata *nfs4_opendata_alloc(struct dentry *dentry,
p->o_arg.fh = NFS_FH(dentry->d_inode);
}
if (attrs != NULL && attrs->ia_valid != 0) {
- __
be
32 verf[2];
+ __
u
32 verf[2];
p->o_arg.u.attrs = &p->attrs;
memcpy(&p->attrs, attrs, sizeof(p->attrs));