diff options
author | Daeho Jeong <[email protected]> | 2018-01-10 16:49:10 +0900 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2018-01-18 22:09:07 -0800 |
commit | f1d2564a7cc9d2f49399094cfe3c46c9d4930b7b (patch) | |
tree | 5c3b6827394152f1c758c9d708dd2224d32ec8eb /net/unix/sysctl_net_unix.c | |
parent | 7c2e59632b846a9ea08a2ac985c651b752e08e3c (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 <[email protected]>
Tested-by: Shu Tan <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions