block: move initialization of elevator-related fields to blk_alloc_queue_node
authorChristoph Hellwig <hch@lst.de>
Thu, 31 May 2018 17:11:36 +0000 (19:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:38:14 +0000 (07:38 -0600)
commitcbf62af3537a5a735594983a87112a8cd08480a3
tree57c60e2d7c8c2c853261cbacfcc45d8369663826
parentf6c3ca0e58446e8de6c6f1a2a73f037fb900c372
block: move initialization of elevator-related fields to blk_alloc_queue_node

No point in doing this in elevator_init.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com>
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/elevator.c