diff options
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r-- | fs/f2fs/inode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 9fe110ef8cc4..196cc7843aaf 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c | |||
@@ -148,6 +148,10 @@ static int do_read_inode(struct inode *inode) | |||
148 | __get_inode_rdev(inode, ri); | 148 | __get_inode_rdev(inode, ri); |
149 | 149 | ||
150 | f2fs_put_page(node_page, 1); | 150 | f2fs_put_page(node_page, 1); |
151 | |||
152 | stat_inc_inline_inode(inode); | ||
153 | stat_inc_inline_dir(inode); | ||
154 | |||
151 | return err; | 155 | return err; |
152 | } | 156 | } |
153 | 157 | ||
@@ -199,8 +203,6 @@ make_now: | |||
199 | goto bad_inode; | 203 | goto bad_inode; |
200 | } | 204 | } |
201 | unlock_new_inode(inode); | 205 | unlock_new_inode(inode); |
202 | stat_inc_inline_inode(inode); | ||
203 | stat_inc_inline_dir(inode); | ||
204 | trace_f2fs_iget(inode); | 206 | trace_f2fs_iget(inode); |
205 | return inode; | 207 | return inode; |
206 | 208 | ||