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>
This commit is contained in:
Chao Yu 2015-07-24 18:24:45 +08:00 committed by Jaegeuk Kim
parent f4c9c743ac
commit e4e762723a
1 changed files with 0 additions and 2 deletions

View File

@ -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 */