projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17f26b1
)
NFSv4: Deal with a sparse warning in nfs_idmap_get_key()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Aug 2013 00:06:11 +0000
(20:06 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Aug 2013 12:58:15 +0000
(08:58 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Bryan Schumaker <bjschuma@netapp.com>
fs/nfs/idmap.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/idmap.c
b/fs/nfs/idmap.c
index c2c4163d56832fd94193c2865faeb64df11e8b74..65c7d91f66f7e0edd3d1301bb538b10d35e2a55b 100644
(file)
--- 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.
rcu
data);
if (IS_ERR_OR_NULL(payload)) {
ret = PTR_ERR(payload);
goto out_up;