NFS: Fix up a typo in nfs_dns_ent_put

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>
This commit is contained in:
Trond Myklebust 2018-10-05 10:27:20 -04:00 committed by J. Bruce Fields
parent 437f914513
commit a6482733bc
1 changed files with 1 additions and 1 deletions

View File

@ -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)