diff options
author | 2021-10-18 12:11:06 +0200 | |
---|---|---|
committer | 2021-10-18 14:43:22 -0600 | |
commit | 0fe80347fd701a7261bea278cab692de79e83af7 (patch) | |
tree | fc7208d69ecdc6ed370867c8d1b85d3c5f3dbce6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm: use bdev_nr_sectors and bdev_nr_bytes instead of open coding them (diff) | |
download | wireguard-linux-0fe80347fd701a7261bea278cab692de79e83af7.tar.xz wireguard-linux-0fe80347fd701a7261bea278cab692de79e83af7.zip |
md: 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>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20211018101130.1838532-7-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