Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2021-01-29 17:47:25 +0300
committerJens Axboe <axboe@kernel.dk>2021-01-29 17:49:22 +0300
commitcd92cdb9c8bcfc27a8f28bcbf7c414a0ea79e5ec (patch)
tree36bd10ac8a71306ee6a766b454b91c80290b44e8 /block/bfq-iosched.c
parente2579c76fbc5eb2b4469ad2d460dfb3cdb8f5f1f (diff)
null_blk: cleanup zoned mode initialization
To avoid potential compilation problems, replaced the badly written MB_TO_SECTS() macro (missing parenthesis around the argument use) with the inline function mb_to_sects(). And while at it, simplify the calculation of the total number of zones of the device using the round_up() macro. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.c')
0 files changed, 0 insertions, 0 deletions