Skip to content
Commit afcb7ca0 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: check truncation of mapping after lock_page



We call lock_page when we need to update a page after readpage.
Between grab and lock page, the page can be truncated by other thread.
So, we should check the page after lock_page whether it was truncated or not.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 55008d84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment