Skip to content

Commit 393faff

Browse files
Trond MyklebustTrond Myklebust
authored andcommitted
NFSv4: Deal with a sparse warning in nfs_idmap_get_key()
Signed-off-by: Trond Myklebust <[email protected]> Cc: Bryan Schumaker <[email protected]>
1 parent 17f26b1 commit 393faff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/idmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ static ssize_t nfs_idmap_get_key(const char *name, size_t namelen,
310310
if (ret < 0)
311311
goto out_up;
312312

313-
payload = rcu_dereference(rkey->payload.data);
313+
payload = rcu_dereference(rkey->payload.rcudata);
314314
if (IS_ERR_OR_NULL(payload)) {
315315
ret = PTR_ERR(payload);
316316
goto out_up;

0 commit comments

Comments
 (0)