Skip to content

Commit c281fa9

Browse files
Trond MyklebustTrond Myklebust
authored andcommitted
NFSv4: Deal with a sparse warning in nfs4_opendata_alloc
Signed-off-by: Trond Myklebust <[email protected]>
1 parent a9943d1 commit c281fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/nfs4proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ static struct nfs4_opendata *nfs4_opendata_alloc(struct dentry *dentry,
933933
p->o_arg.fh = NFS_FH(dentry->d_inode);
934934
}
935935
if (attrs != NULL && attrs->ia_valid != 0) {
936-
__be32 verf[2];
936+
__u32 verf[2];
937937

938938
p->o_arg.u.attrs = &p->attrs;
939939
memcpy(&p->attrs, attrs, sizeof(p->attrs));

0 commit comments

Comments
 (0)