diff options
author | 2022-11-28 10:43:45 +0100 | |
---|---|---|
committer | 2022-12-08 09:32:13 -0800 | |
commit | 8442d94b8ac8d5d8300725a9ffa9def526b71170 (patch) | |
tree | 0be951c721ff9d83a2c59b6b6fdaed528ca20234 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: remove struct segment_allocation default_salloc_ops (diff) | |
download | wireguard-linux-8442d94b8ac8d5d8300725a9ffa9def526b71170.tar.xz wireguard-linux-8442d94b8ac8d5d8300725a9ffa9def526b71170.zip |
f2fs: open code allocate_segment_by_default
allocate_segment_by_default has just two callers, which use very
different code pathes inside it based on the force paramter. Just
open code the logic in the two callers using a new helper to decided
if a new segment should be allocated.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions