diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-04-26 04:55:17 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-04-29 04:19:32 +0200 |
commit | afcb7ca01f47b0481e0b248d1542d0934fa70767 (patch) | |
tree | 2834b57b958d2b444d40aa8144ac60ee739507ac /fs/f2fs/xattr.h | |
parent | f2fs: enhance alloc_nid and build_free_nids flows (diff) | |
download | linux-afcb7ca01f47b0481e0b248d1542d0934fa70767.tar.xz linux-afcb7ca01f47b0481e0b248d1542d0934fa70767.zip |
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: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/xattr.h')
0 files changed, 0 insertions, 0 deletions