summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/namei.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-07-15 17:28:53 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-08-05 08:08:05 -0700
commitd5e8f6c9800c382cc55d8df801775d51311f8f21 (patch)
treeaf71a56200f98c73eb183858cac321794ff47be4 /fs/f2fs/namei.c
parent1b77c416e7dfe317277057c32baa67ea9e486ae7 (diff)
downloadlinux-d5e8f6c9800c382cc55d8df801775d51311f8f21.tar.gz
linux-d5e8f6c9800c382cc55d8df801775d51311f8f21.tar.bz2
linux-d5e8f6c9800c382cc55d8df801775d51311f8f21.zip
f2fs: stat inline xattr inode number
This patch adds to stat the number of inline xattr inode for showing in debugfs. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
-rw-r--r--fs/f2fs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index 1856d5ecd809..97e97c41b979 100644
--- a/fs/f2fs/namei.c
+++ b/fs/f2fs/namei.c
@@ -67,6 +67,7 @@ static struct inode *f2fs_new_inode(struct inode *dir, umode_t mode)
f2fs_init_extent_tree(inode, NULL);
+ stat_inc_inline_xattr(inode);
stat_inc_inline_inode(inode);
stat_inc_inline_dir(inode);