summaryrefslogtreecommitdiff
path: root/block/partitions
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-19 08:20:22 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-19 06:16:50 -0600
commit946e99373037be4841e8b42dcd136e03093c9fd5 (patch)
treed8644172d57ff88b6e650f9a99ee6fb6b7bd75b1 /block/partitions
parentf09313c57a17683cbcb305989daf1d94b49fd32c (diff)
block/ioctl: use bdev_nr_sectors and bdev_nr_bytes
Use the proper helper to read the block device size. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211019062024.2171074-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions