]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit365e298c145e19727f26c08bcce2026a479d7e6c
tree57c60e2d7c8c2c853261cbacfcc45d8369663826
parenta738b104d840eeee1c796b826b9e9c3804c2da9c
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