diff options
author | Christoph Hellwig <[email protected]> | 2021-10-18 12:11:24 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-18 14:43:23 -0600 |
commit | 2a93ad8fcb377b9d6e05947de161e146f5be4de9 (patch) | |
tree | b42bd7ccdcb400dad7f1bbfaea805c90330bf112 /tools/perf/util/trace-event-scripting.c | |
parent | be9a7b3e15916fd3710bfd383e8ecffc0416e919 (diff) |
block: use bdev_nr_bytes instead of open coding it in blkdev_fallocate
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: Jan Kara <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[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