OSDN Git Service

block: always use 'e' when printing scheduler name
authorJinlong Chen <nickyc975@zju.edu.cn>
Tue, 29 Nov 2022 15:46:36 +0000 (23:46 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Nov 2022 17:53:10 +0000 (10:53 -0700)
commit7a3b3660fd30c028e7ae1cd82697933789962406
treee44083b411c3128dd7691873bd3adef69f0579a9
parent5998249e3238428156b09911f1606b41113443c5
block: always use 'e' when printing scheduler name

Printing e->elevator_name in all cases improves the readability, and
'e' and 'cur' are identical in this branch.

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