Skip to content
Commit 2eef17a2 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: simplify the check for the current elevator in elv_iosched_show



Just compare the pointers instead of using the string based
elevator_match.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221030100714.876891-6-hch@lst.de
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 16095af2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment