diff options
author | 2024-02-20 11:15:15 +0800 | |
---|---|---|
committer | 2024-02-27 09:41:16 -0800 | |
commit | 0f1c6ede6da9f7c5dd7380b74a64850298279168 (patch) | |
tree | f37176e28c1eab4aaea9181d4321e502976fc649 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f2fs: support file pinning for zoned devices (diff) | |
download | wireguard-linux-0f1c6ede6da9f7c5dd7380b74a64850298279168.tar.xz wireguard-linux-0f1c6ede6da9f7c5dd7380b74a64850298279168.zip |
f2fs: introduce get_available_block_count() for cleanup
There are very similar codes in inc_valid_block_count() and
inc_valid_node_count() which is used for available user block
count calculation.
This patch introduces a new helper get_available_block_count()
to include those common codes, and used it to clean up codes.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions