[for-block] cgroup: export css_next_descendant_pre for bfq
diff mbox series

Message ID 20190621082248.11427-1-hch@lst.de
State New
Headers show
Series
  • [for-block] cgroup: export css_next_descendant_pre for bfq
Related show

Commit Message

Christoph Hellwig June 21, 2019, 8:22 a.m. UTC
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")
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 kernel/cgroup/cgroup.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jens Axboe June 21, 2019, 8:48 a.m. UTC | #1
On 6/21/19 2:22 AM, Christoph Hellwig wrote:
> 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.

Patch
diff mbox series

diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 426a0026225c..30aba80858e3 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -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