diff options
author | 2021-10-18 12:11:09 +0200 | |
---|---|---|
committer | 2021-10-18 14:43:22 -0600 | |
commit | b86058f96cc86e415e51bd12cc3786d7cdbd8b47 (patch) | |
tree | b7899281b8d8d8f255f665ff2f7022906d9d98e2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target/iblock: use bdev_nr_bytes instead of open coding it (diff) | |
download | wireguard-linux-b86058f96cc86e415e51bd12cc3786d7cdbd8b47.tar.xz wireguard-linux-b86058f96cc86e415e51bd12cc3786d7cdbd8b47.zip |
fs: use bdev_nr_bytes instead of open coding it in blkdev_max_block
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>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20211018101130.1838532-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions