]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
block, bfq: remove batches of confusing ifdefs
authorPaolo Valente <paolo.valente@linaro.org>
Thu, 5 Jul 2018 13:24:00 +0000 (15:24 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:30:39 +0000 (12:30 +0200)
commite4ccc87f79b0d9881061579fde9ec353ad26197b
tree91f5d1e70c22188a83ef776b3036e33c2a9cb6e2
parentaa0cc7dfd962918aca0e7b33609a5ecbf52f5663
block, bfq: remove batches of confusing ifdefs

BugLink: https://launchpad.net/bugs/1780066
Commit a33801e8b473 ("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: a33801e8b473 ("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>
(cherry picked from commit 9b25bd0368d562d1929059e8eb9de4102567b923)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
block/bfq-iosched.c