Christoph Hellwig beffd16e68 hfs: 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>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20211018101130.1838532-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-18 14:43:22 -06:00
..
2021-01-24 14:27:17 +01:00
2018-10-31 08:54:13 -07:00
2018-11-30 14:56:14 -08:00
2021-01-24 14:27:20 +01:00
2021-01-24 14:27:20 +01:00
2016-07-20 23:30:06 -04:00