]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: remove batches of confusing ifdefs
authorPaolo Valente <paolo.valente@linaro.org>
Mon, 4 Dec 2017 10:42:05 +0000 (11:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 16:32:59 +0000 (09:32 -0700)
commit148dcf5a9aa8112d33f44fbefd5fc6b2c7dcbabc
treeec28af9f679cb63cceb189530c75e02fb7ece769
parent5c21081bf7ec1006b34a538282bab5476023fa81
block, bfq: remove batches of confusing ifdefs

Commit ce1b971473dd ("block, bfq: move debug blkio stats behind
CONFIG_DEBUG_BLK_CGROUP") introduced two batches of confusing ifdefs:
one reported in [1], plus a similar one in another function. This
commit removes both batches, in the way suggested in [1].

[1] https://www.spinics.net/lists/linux-block/msg20043.html

Fixes: ce1b971473dd ("block, bfq: move debug blkio stats behind CONFIG_DEBUG_BLK_CGROUP")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Luca Miccio <lucmiccio@gmail.com>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c