OSDN Git Service

block: cleanup the variable naming in elv_iosched_store
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Oct 2022 10:07:11 +0000 (11:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Nov 2022 14:02:47 +0000 (08:02 -0600)
commit16095af2fa2c3089ff1162e677d6596772f6f478
tree0b6dcdb397201b99817ed45dcd622487a3f454b7
parentaae2a643f508d768b65e59da447f3b11688db3cf
block: cleanup the variable naming in elv_iosched_store

Use eq for the elevator_queue as done elsewhere.  This frees e to be used
for the loop iterator instead of the odd __ prefix.  In addition rename
elv to cur to make it more clear it is the currently selected elevator.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221030100714.876891-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c