Skip to contentSkip to conversation

cgroup: export css_next_descendant_pre for bfq

PATCH Applied Christoph Hellwig 2 participants 2 messages Jun 21, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cgroup: export css_next_descendant_pre for bfq

The bfq schedule now uses css_next_descendant_pre directly after the stats functionality depending on it has been from the core blk-cgroup code to bfq. Export the symbol so that bfq can still be build modular.

Fixes d6258980daf2 ("bfq-iosched: move bfq_stat_recursive_sum into the only caller")
---
 kernel/cgroup/cgroup.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cgroup/cgroup.c +1 -0
index 426a0026225c..30aba80858e3 100644
@@ -4221,6 +4221,7 @@ css_next_descendant_pre(struct cgroup_subsys_state *pos,
 
 	return NULL;
 }
+EXPORT_SYMBOL_GPL(css_next_descendant_pre);
 
 /**
  * css_rightmost_descendant - return the rightmost descendant of a css
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Christoph Hellwig

The bfq schedule now uses css_next_descendant_pre directly after the stats functionality depending on it has been from the core blk-cgroup code to bfq. Export the symbol so that bfq can still be build modular.

Applied, thanks.

Signature · 1 line
Jens Axboe