]> www.infradead.org Git - users/hch/block.git/commit
partitions/ibm: use bdev_nr_sectors instead of open coding it block-kill-bd_inode
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 08:36:52 +0000 (10:36 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 08:36:52 +0000 (10:36 +0200)
commitffeb1c3218d3511f9972cc09dfe37a29c0da40cb
tree19a67dc452a8fed0e059d50981de1a7ac7f5fad9
parenta594f447a367a7612b1a9c916b90dab6333fe607
partitions/ibm: use bdev_nr_sectors instead of open coding it

Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/partitions/ibm.c