f2fs: invalidate xattr node page when evict inode
authorChao Yu <chao2.yu@samsung.com>
Mon, 4 Aug 2014 01:54:58 +0000 (09:54 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 4 Aug 2014 20:01:22 +0000 (13:01 -0700)
commit002a41cabb5829d59c0337dcb5fa3893e0bb15fd
treecaf176ab2b117c097ab240caccb3e4075f888fcd
parent70cfed88efa760fd165fc413cfd1801b5cc8acd2
f2fs: invalidate xattr node page when evict inode

When inode is evicted, all the page cache belong to this inode should be
released including the xattr node page. But previously we didn't do this, this
patch fixed this issue.

v2:
 o reposition invalidate_mapping_pages() to the right place suggested by
Jaegeuk Kim.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inode.c