Commit a6482733 authored by Trond Myklebust's avatar Trond Myklebust Committed by J. Bruce Fields
Browse files

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 437f9145
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -116,7 +116,7 @@ static void nfs_dns_ent_put(struct kref *ref)
	struct nfs_dns_ent *item;
	struct nfs_dns_ent *item;


	item = container_of(ref, struct nfs_dns_ent, h.ref);
	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)
static struct cache_head *nfs_dns_ent_alloc(void)