diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-20 14:33:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:01 -0600 |
commit | 2e9bc3465ac54d282b855b073409c2c3a7d1ae00 (patch) | |
tree | 8fecd1de7699d3f7651adf634ffa60efd821f2ad /init | |
parent | 9778ac77c2027827ffdbb33d3e936b3a0ae9f0f9 (diff) | |
download | linux-2e9bc3465ac54d282b855b073409c2c3a7d1ae00.tar.gz linux-2e9bc3465ac54d282b855b073409c2c3a7d1ae00.tar.bz2 linux-2e9bc3465ac54d282b855b073409c2c3a7d1ae00.zip |
block: move elevator.h to block/
Except for the features passed to blk_queue_required_elevator_features,
elevator.h is only needed internally to the block layer. Move the
ELEVATOR_F_* definitions to blkdev.h, and the move elevator.h to
block/, dropping all the spurious includes outside of that.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 3c4054a95545..4162d7f3179f 100644 --- a/init/main.c +++ b/init/main.c @@ -83,7 +83,6 @@ #include <linux/ptrace.h> #include <linux/pti.h> #include <linux/blkdev.h> -#include <linux/elevator.h> #include <linux/sched/clock.h> #include <linux/sched/task.h> #include <linux/sched/task_stack.h> |