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)
committerIan Chang <ianc@nvidia.com>
Wed, 27 Jan 2016 10:04:08 +0000 (18:04 +0800)
commit5989e99e594747433cc11142dfc8ca69e8c6e632
tree2b2fedd39ec3f904fcfd07e44683a152d576a903
parent86ebececa4974af97f289c26d23be60da0161241
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