mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user