projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437f914
)
NFS: Fix up a typo in nfs_dns_ent_put
author
Trond Myklebust
<trondmy@gmail.com>
Fri, 5 Oct 2018 14:27:20 +0000
(10:27 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000
(16:58 -0400)
call_rcu() needs to take a first argument of type (struct rcu_head *).
Fixes:
fd497f1e40d9
("NFS: Lockless DNS lookups")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/dns_resolve.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/dns_resolve.c
b/fs/nfs/dns_resolve.c
index e93a5dc07c8c2c859a5d8633ff15c483cb56cbfb..a7d3df85736dfba49c461ed54a17b5db0d3bfa44 100644
(file)
--- a/
fs/nfs/dns_resolve.c
+++ b/
fs/nfs/dns_resolve.c
@@
-116,7
+116,7
@@
static void nfs_dns_ent_put(struct kref *ref)
struct nfs_dns_ent *item;
item = container_of(ref, struct nfs_dns_ent, h.ref);
- call_rcu(
item
, nfs_dns_ent_free_rcu);
+ call_rcu(
&item->rcu_head
, nfs_dns_ent_free_rcu);
}
static struct cache_head *nfs_dns_ent_alloc(void)