]> www.infradead.org Git - users/hch/block.git/commit
block: stop using bdget_disk for partition 0 bdev-inode
authorChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 19:30:06 +0000 (20:30 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 10:09:57 +0000 (11:09 +0100)
commitffed9f24ac60cdaa0a23fb251438f241ae711724
tree89682f42d3c013c65ed561efc2a8831ec7744640
parent9ed4e0706e2faa506d1538061ca72aa0a8a260e1
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>
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