Messages in this thread | | | Subject | Re: [PATCH 1/5] f2fs: do not set free of current section | From | Chao Yu <> | Date | Fri, 13 Jul 2018 11:10:32 +0800 |
| |
On 2018/7/12 23:09, Yunlong Song wrote: > 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>
Thanks,
| |