From 48b230a583965d33c32b4e3c29a1e5e15d7e55de Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Mon, 7 Apr 2014 11:18:34 +0800 Subject: [PATCH] f2fs: fix wrong statistics of inline data If we remove a file that has inline data after mount, our statistics turns to inaccurate. cat /sys/kernel/debug/f2fs/status - Inline_data Inode: 4294967295 Let's add stat_inc_inline_inode() to stat inline info of the file when lookup. Change log from v1: o stat in f2fs_lookup() instead of in do_read_inode() for excluding wrong stat. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-format-patch failed