commit | 946e99373037be4841e8b42dcd136e03093c9fd5 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 19 08:20:22 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 19 06:16:50 2021 -0600 |
tree | d8644172d57ff88b6e650f9a99ee6fb6b7bd75b1 | |
parent | f09313c57a17683cbcb305989daf1d94b49fd32c [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>