diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-07-24 18:24:45 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-08-05 08:08:14 -0700 |
commit | e4e762723a90109c968c6c58f7d9bf4541c22928 (patch) | |
tree | 36de73b045cc1face128e0804154423d0b887e39 /fs/f2fs | |
parent | f4c9c743acedc2f083e6a1d4e186df6a2c12b2fd (diff) | |
download | linux-e4e762723a90109c968c6c58f7d9bf4541c22928.tar.gz linux-e4e762723a90109c968c6c58f7d9bf4541c22928.tar.bz2 linux-e4e762723a90109c968c6c58f7d9bf4541c22928.zip |
f2fs: fix inline data/dentry stat number leak
If we clear inline data/dentry flag in handle_failed_inode, we will fail
to decline the stat count of inline data/dentry in f2fs_evict_inode due
to no flag in inode. So remove the wrong clearing.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index cc4f1082419a..83354433d4d1 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c @@ -390,8 +390,6 @@ void handle_failed_inode(struct inode *inode) remove_inode_page(inode); set_inode_flag(F2FS_I(inode), FI_FREE_NID); - clear_inode_flag(F2FS_I(inode), FI_INLINE_DATA); - clear_inode_flag(F2FS_I(inode), FI_INLINE_DENTRY); f2fs_unlock_op(sbi); /* iput will drop the inode object */ |