diff options
| author | Yunlong Song <yunlong.song@huawei.com> | 2017-02-21 16:59:26 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:34:56 +0200 |
| commit | d6e44a5dc3f8a6546ef1198747219f90330aa6a2 (patch) | |
| tree | 1f44c1bc37dd4f5c8f9ec618d7259a6d37766f24 /include/linux/flex_array.h | |
| parent | ea38bb4097053a5d1ebabc1f38083af62c2f69a8 (diff) | |
f2fs: put allocate_segment after refresh_sit_entry
SIT information should be updated before segment allocation, since SSR needs
latest valid block information. Current code does not update the old_blkaddr
info in sit_entry, so adjust the allocate_segment to its proper location. Commit
5e443818fa0b2a2845561ee25bec181424fb2889 ("f2fs: handle dirty segments inside
refresh_sit_entry") puts it into wrong location.
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
