f2fs: count inline_xx in do_read_inode
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 5 Dec 2014 18:51:50 +0000 (10:51 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 8 Dec 2014 18:35:13 +0000 (10:35 -0800)
commit9d1015dd4c6ba602272f80487bb9c922a9a71cc1
tree2c641df1ff71cd28567db8e76cd84029738264ab
parent9be32d72becca41d7d9b010d7d9be1d39489414f
f2fs: count inline_xx in do_read_inode

In do_read_inode, if we failed __recover_inline_status, the inode has inline
flag without increasing its count.
Later, f2fs_evict_inode will decrease the count, which causes -1.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inode.c