diff options
| author | Daeho Jeong <daeho.jeong@samsung.com> | 2018-01-10 16:49:10 +0900 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-02-07 18:05:52 -0800 |
| commit | d49132d45cb07dc77904bf9b6501df2dd77b251b (patch) | |
| tree | e4f97445c48a5ec3d549acf0ecceeec190c4892d /include | |
| parent | 2ce6b9d8167e2785ea01011bc60c2f95b6313dea (diff) | |
f2fs: handle newly created page when revoking inmem pages
When committing inmem pages is successful, we revoke already committed
blocks in __revoke_inmem_pages() and finally replace the committed
ones with the old blocks using f2fs_replace_block(). However, if
the committed block was newly created one, the address of the old
block is NEW_ADDR and __f2fs_replace_block() cannot handle NEW_ADDR
as new_blkaddr properly and a kernel panic occurrs.
Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com>
Tested-by: Shu Tan <shu.tan@samsung.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
