summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2018-07-12 23:09:26 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-18 13:37:06 -0700
commitf0416587766350a3338ee477a467366682a5cb0d (patch)
treea21ceded0804ba9d4618cb949d052b47f59963ce /tools/perf/scripts/python
parent5e39f1496f8eb41f19cef9be713c5abef787153b (diff)
f2fs: do not set free of current section
For the case when sbi->segs_per_sec > 1, take section:segment = 5 for example, if segment 1 is just used and allocate new segment 2, and the blocks of segment 1 is invalidated, at this time, the previous code will use __set_test_and_free to free the free_secmap and free_sections++, this is not correct since it is still a current section, so fix it. Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions