]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
block: pass a block_device to blk_alloc_devt
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Nov 2020 08:17:46 +0000 (09:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:40 +0000 (14:53 -0700)
commit9fc995a6e08349b5c5baff2cc31544b96ee2b1c3
tree98284848498e8ef95e5f9e9ad2f7f11ba6eb1a61
parent41e5c81984eac8ce87f2b4f57fec0bd90a049b2b
block: pass a block_device to blk_alloc_devt

Pass the block_device actually needed instead of the hd_struct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
block/genhd.c
block/partitions/core.c