Commit caf83ba6 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Pekka Enberg

slqb: use correct name for rcu callback

struct slqb_page defines struct rcu_head rcu_head for rcu,
the rcu callback should use it.
Signed-off-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: default avatarNick Piggin <npiggin@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 14cd4cef
No related merge requests found
......@@ -1022,7 +1022,7 @@ static void rcu_free_slab(struct rcu_head *h)
{
struct slqb_page *page;
page = container_of((struct list_head *)h, struct slqb_page, lru);
page = container_of(h, struct slqb_page, rcu_head);
__free_slab(page->list->cache, page);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment