summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-23 19:53:06 +0100
committerJens Axboe <axboe@kernel.dk>2021-11-29 14:38:44 +0100
commitf46b81c54b241bf1ec01c8936a37201c99f94fc7 (patch)
tree3305d4838ad50e349cadb0f101ae596a9be689c9 /block/blk-sysfs.c
parentblock: move blk_get_flush_queue to blk-flush.c (diff)
downloadlinux-f46b81c54b241bf1ec01c8936a37201c99f94fc7.tar.xz
linux-f46b81c54b241bf1ec01c8936a37201c99f94fc7.zip
block: remove elevator_exit
Open code elevator_exit in it's only caller, and rename __elevator_exit to elevator_exit. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211123185312.1432157-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-sysfs.c')
-rw-r--r--block/blk-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index c079be1c58a3..1677eb4a680c 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -747,7 +747,7 @@ static void blk_exit_queue(struct request_queue *q)
*/
if (q->elevator) {
ioc_clear_queue(q);
- __elevator_exit(q, q->elevator);
+ elevator_exit(q, q->elevator);
}
/*