]> www.infradead.org Git - users/hch/block.git/commit
block: stop using bdget_disk for partition 0 bdev-lookup
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2020 09:41:07 +0000 (10:41 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 1 Dec 2020 08:13:15 +0000 (09:13 +0100)
commitf8348b92324a82ecfa65a0c5b93fcd39fb808421
tree1fec5aa76caa573bdc71d4731aa5b18b959a3aa3
parenta50fe3fa16dbf9b0381c029b5d0f7fee2bde854d
block: stop using bdget_disk for partition 0

We can just dereference the point in struct gendisk instead.  Also
remove the now unused export.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
block/genhd.c
drivers/block/nbd.c
drivers/block/xen-blkfront.c
drivers/block/zram/zram_drv.c
drivers/md/dm.c
drivers/s390/block/dasd_ioctl.c
fs/block_dev.c