summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-04-20 17:37:05 +0200
committerJens Axboe <axboe@fb.com>2017-04-20 17:39:12 +0200
commit659b3394eb67a5e274d7e7348633b508510a5c8f (patch)
treebf5c271fbf873d2605967986a4d6fe5e6e8468c9 /block/blk-throttle.c
parentblock, bfq: don't dereference bic before null checking it (diff)
downloadlinux-659b3394eb67a5e274d7e7348633b508510a5c8f.tar.xz
linux-659b3394eb67a5e274d7e7348633b508510a5c8f.zip
bfq: fix compile error if CONFIG_CGROUPS=n
If we don't have CGROUPS enabled, the compile ends in the following misery: In file included from ../block/bfq-iosched.c:105:0: ../block/bfq-iosched.h:819:22: error: array type has incomplete element type extern struct cftype bfq_blkcg_legacy_files[]; ^ ../block/bfq-iosched.h:820:22: error: array type has incomplete element type extern struct cftype bfq_blkg_files[]; ^ Move the declarations under the right ifdef. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions