]> www.infradead.org Git - users/hch/block.git/commit
hfsplus: use bdev_nr_sectors instead of open coding it
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Oct 2021 11:22:50 +0000 (13:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 08:29:34 +0000 (10:29 +0200)
commit6488b87b84d2ed47a1f95b9476e9d26e7436b24a
tree57d4ec87b7cd75820506d066a4939391943c7355
parent64c127c4982787e8894861aca4580f552bbb0dbb
hfsplus: 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>
fs/hfsplus/wrapper.c