]> git.baikalelectronics.ru Git - kernel.git/commit
block: move sysfs_lock into elevator_init
authorChristoph Hellwig <hch@lst.de>
Thu, 31 May 2018 17:11:39 +0000 (19:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:38:19 +0000 (07:38 -0600)
commit9ce80940351f77ca83d202c58084b9c2b660594e
tree296aa44427ee604597d22412d212ae9744f7dd92
parent2f6e46c57f4f583f490097890906e734c141cc08
block: move sysfs_lock into elevator_init

Both callers take just around so function call, so move it in.
Also remove the now pointless blk_mq_sched_init wrapper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq-sched.c
block/blk-mq-sched.h
block/blk-mq.c
block/elevator.c