From: Trond Myklebust Date: Thu, 22 Aug 2013 00:06:11 +0000 (-0400) Subject: NFSv4: Deal with a sparse warning in nfs_idmap_get_key() X-Git-Tag: MMI-PSA29.97-13-9~13623^2~95 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=393faffe6f0d1cd3fb84dc591c4b220cd82efbb6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git NFSv4: Deal with a sparse warning in nfs_idmap_get_key() Signed-off-by: Trond Myklebust Cc: Bryan Schumaker --- diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index c2c4163d5683..65c7d91f66f7 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;