block: include 'none' for initial elv_iosched_show call
authorJinlong Chen <nickyc975@zju.edu.cn>
Tue, 29 Nov 2022 15:46:34 +0000 (23:46 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Nov 2022 17:48:59 +0000 (10:48 -0700)
commit7919d679ae09c0dc30dfecb7cbc02306cf95cdd7
tree992cf92c3adf24e9690387954328119787c23f9b
parent8613dec04e746f698418e9b8344acf19efff4997
block: include 'none' for initial elv_iosched_show call

This makes the printing order of the io schedulers consistent, and removes
a redundant q->elevator check.

Signed-off-by: Jinlong Chen <nickyc975@zju.edu.cn>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/bdd7083ed4f232e3285f39081e3c5f30b20b8da2.1669736350.git.nickyc975@zju.edu.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c