commit | 4a6de50d5408cdc699588119e2338e580adc2b73 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Mar 30 11:25:31 2016 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Apr 15 08:49:47 2016 -0700 |
tree | 1c5647c9e3d6fd09b4b15282aa3d926f0d030297 | |
parent | 675f10bde6cc3874632a8f684df2a8a2a8ace76e [diff] |
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: Jaegeuk Kim <jaegeuk@kernel.org>