diff options
author | Christoph Hellwig <[email protected]> | 2021-10-18 12:11:12 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-18 14:43:22 -0600 |
commit | cda00eba022d6a0a60740989ac79fc6a258b2d7a (patch) | |
tree | 37834a23f736886c9e79a94c634cfd3928e432c9 /tools/perf/util/trace-event-scripting.c | |
parent | 589aa7bc40c4f823dd6094cef51f8cff60e26e95 (diff) |
btrfs: use bdev_nr_bytes instead of open coding it
Use the proper helper to read the block device size.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Acked-by: David Sterba <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions