diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-28 16:39:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-28 16:56:34 +0200 |
commit | c68f4f4e296b6011032b4f88d0ce72eb72a6bb07 (patch) | |
tree | a3badd0b0013ba895efd0940b61ad945531749c0 /drivers/s390/block/dasd_diag.c | |
parent | blk-cgroup: don't update the blkg lookup hint in blkg_conf_prep (diff) | |
download | linux-c68f4f4e296b6011032b4f88d0ce72eb72a6bb07.tar.xz linux-c68f4f4e296b6011032b4f88d0ce72eb72a6bb07.zip |
s390/dasd: use blk_mq_alloc_disk
As far as I can tell there is no need for the staged setup in
dasd, so allocate the tagset and the disk with the queue in
dasd_gendisk_alloc.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20220928143945.1687114-2-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/s390/block/dasd_diag.c')
-rw-r--r-- | drivers/s390/block/dasd_diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_diag.c b/drivers/s390/block/dasd_diag.c index 94ee59864971..f956a4ac9881 100644 --- a/drivers/s390/block/dasd_diag.c +++ b/drivers/s390/block/dasd_diag.c @@ -627,7 +627,7 @@ dasd_diag_dump_sense(struct dasd_device *device, struct dasd_ccw_req * req, static void dasd_diag_setup_blk_queue(struct dasd_block *block) { unsigned int logical_block_size = block->bp_block; - struct request_queue *q = block->request_queue; + struct request_queue *q = block->gdp->queue; int max; max = DIAG_MAX_BLOCKS << block->s2b_shift; |