diff options
| author | Qu Wenruo <[email protected]> | 2020-08-13 14:33:52 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 12:06:54 +0200 |
| commit | e21139c621ada48f2bc382865ea34dd49d45c2a8 (patch) | |
| tree | f29e1b25a89d3fc2511b16f20e8a0861b3770520 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c4923027bd58cdccbe54e13298a4d914668a56da (diff) | |
btrfs: cleanup calculation of lockend in lock_and_cleanup_extent_if_need()
We're just doing rounding up to sectorsize to calculate the lockend.
There is no need to do the unnecessary length calculation, just direct
round_up() is enough.
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions