diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-10 16:29:14 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-10 16:29:14 -0800 |
commit | 57e2a2c0a698406e6206ab707bd7c3dcf248c738 (patch) | |
tree | 9cd45c0028ec88958f4d38afc64188929c69069d /fs/f2fs | |
parent | b7e1d800031c827a80c9a9d03cf15e4dd5405a44 (diff) | |
download | op-kernel-dev-57e2a2c0a698406e6206ab707bd7c3dcf248c738.zip op-kernel-dev-57e2a2c0a698406e6206ab707bd7c3dcf248c738.tar.gz |
f2fs: reduce the number of inline_data inode before clearing it
The # of inline_data inode is decreased only when it has inline_data.
After clearing the flag, we can't decreased the number.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index 8b66109..2310670 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -116,8 +116,8 @@ no_update: /* clear inline data and flag after data writeback */ truncate_inline_data(dn->inode_page, 0); clear_out: - f2fs_clear_inline_inode(dn->inode); stat_dec_inline_inode(dn->inode); + f2fs_clear_inline_inode(dn->inode); sync_inode_page(dn); f2fs_put_dnode(dn); return 0; |