summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2018-07-12 23:09:26 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-08-01 11:52:36 -0700
commit3611ce9911267cb93d364bd71ddea6821278d11f (patch)
tree199f9a038e10e47ff811b63d246e1ef813522be0 /usr
parent36b877af7992893b6d1ddbe96971cab5ab9e50eb (diff)
downloadlinux-stable-3611ce9911267cb93d364bd71ddea6821278d11f.tar.gz
linux-stable-3611ce9911267cb93d364bd71ddea6821278d11f.tar.bz2
linux-stable-3611ce9911267cb93d364bd71ddea6821278d11f.zip
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 'usr')
0 files changed, 0 insertions, 0 deletions