summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-21 20:06:11 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-22 08:58:15 -0400
commit393faffe6f0d1cd3fb84dc591c4b220cd82efbb6 (patch)
tree04e2d6a695ba6b2db7d13fbbcb6116767586a69b
parent17f26b1246425a5b77f05ac871889265357566a8 (diff)
downloadop-kernel-dev-393faffe6f0d1cd3fb84dc591c4b220cd82efbb6.zip
op-kernel-dev-393faffe6f0d1cd3fb84dc591c4b220cd82efbb6.tar.gz
NFSv4: Deal with a sparse warning in nfs_idmap_get_key()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Bryan Schumaker <bjschuma@netapp.com>
-rw-r--r--fs/nfs/idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c
index c2c4163..65c7d91 100644
--- a/fs/nfs/idmap.c
+++ b/fs/nfs/idmap.c
@@ -310,7 +310,7 @@ static ssize_t nfs_idmap_get_key(const char *name, size_t namelen,
if (ret < 0)
goto out_up;
- payload = rcu_dereference(rkey->payload.data);
+ payload = rcu_dereference(rkey->payload.rcudata);
if (IS_ERR_OR_NULL(payload)) {
ret = PTR_ERR(payload);
goto out_up;
OpenPOWER on IntegriCloud