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

f2fs: use PGP_LOCK to check its truncation



Previously, after trylock_page is succeeded, it doesn't check its mapping.
In order to fix that, we can just give PGP_LOCK to pagecache_get_page.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 675f10bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment