diff options
author | Christoph Hellwig <[email protected]> | 2021-10-18 12:11:02 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-18 14:43:22 -0600 |
commit | 6436bd90f76e75d2c5786a50203b05a9b7f7100d (patch) | |
tree | 42be0dddf22b8518f4ca2cd0c6d5d9995844e750 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 99457db8b40c66941072a383a5ab4e36bc53fd3d (diff) |
block: add a bdev_nr_bytes helper
Add a helper to query the size of a block device in bytes. This
will be used to remove open coded access to ->bd_inode.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions