commit | acddf3b308f6b6e23653de02e1abf98f402f1f12 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 31 19:11:39 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 01 07:38:19 2018 -0600 |
tree | 296aa44427ee604597d22412d212ae9744f7dd92 | |
parent | ddb7253254fee6922764043101f8b28b6a00595d [diff] |
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>