Commit c281fa9c authored by Trond Myklebust's avatar Trond Myklebust

NFSv4: Deal with a sparse warning in nfs4_opendata_alloc

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent a9943d11
......@@ -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) {
__be32 verf[2];
__u32 verf[2];
p->o_arg.u.attrs = &p->attrs;
memcpy(&p->attrs, attrs, sizeof(p->attrs));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment