]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
cgroup: export css_next_descendant_pre for bfq
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 08:22:48 +0000 (10:22 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Jun 2019 08:48:34 +0000 (02:48 -0600)
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/cgroup/cgroup.c

index 426a0026225c29085d8e09c7f4920c6edbd216be..30aba80858e3f26058467d05a4c8c28b0383053f 100644 (file)
@@ -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