commit | 4a1fa41d304c7129328d4d5c7f31715b95e23b29 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 16 15:19:08 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 12:54:30 2021 -0600 |
tree | d4dc44ad63f2f1421feb50c15c2b616150af27e9 | |
parent | a58bd7683fcb60ae24c8572f932b48bc65719b7c [diff] |
block: pass a request_queue to __blk_alloc_disk Pass in a request_queue and assign disk->queue in __blk_alloc_disk to ensure struct gendisk always has a valid ->queue pointer. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210816131910.615153-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>