mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
block: fix a build error
The code is only for blkcg not for all cgroups
Fixes: d4478e92d6
("block/loop: make loop cgroup aware")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
9979d545c9
commit
0b508bc926
3 changed files with 6 additions and 6 deletions
|
@ -199,7 +199,7 @@ bool kthread_cancel_delayed_work_sync(struct kthread_delayed_work *work);
|
|||
|
||||
void kthread_destroy_worker(struct kthread_worker *worker);
|
||||
|
||||
#ifdef CONFIG_CGROUPS
|
||||
#ifdef CONFIG_BLK_CGROUP
|
||||
void kthread_associate_blkcg(struct cgroup_subsys_state *css);
|
||||
struct cgroup_subsys_state *kthread_blkcg(void);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue