summaryrefslogtreecommitdiff
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-11-26 06:08:57 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-01-06 11:42:20 +0400
commit0dbdc2ae9bba0a358816cc4a22e41a6ef16db8a2 (patch)
tree7ffa34ebdec3327322913de047f8964bd21e7e1a /fs/f2fs/inode.c
parent9e09fc855dd6f6ed510b3db7f3c3c1dd73631ac7 (diff)
downloadlinux-0dbdc2ae9bba0a358816cc4a22e41a6ef16db8a2.tar.xz
f2fs: add the number of inline_data files to status info
This patch adds the number of inline_data files into the status information. Note that the number is reset whenever the filesystem is newly mounted. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r--fs/f2fs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index a91f45177cd9..915f9a8f3ee6 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -277,6 +277,7 @@ void f2fs_evict_inode(struct inode *inode)
f2fs_lock_op(sbi);
remove_inode_page(inode);
+ stat_dec_inline_inode(inode);
f2fs_unlock_op(sbi);
sb_end_intwrite(inode->i_sb);