diff options
author | Chao Yu | 2014-04-07 05:18:34 +0200 |
---|---|---|
committer | Jaegeuk Kim | 2014-04-07 05:40:58 +0200 |
commit | 48b230a583965d33c32b4e3c29a1e5e15d7e55de (patch) | |
tree | c9b748672ea6d520bcc1c6b0f215eee6c84bc0b5 /Documentation/filesystems | |
parent | f2fs: check the acl's validity before setting (diff) | |
download | kernel-qcow2-linux-48b230a583965d33c32b4e3c29a1e5e15d7e55de.tar.gz kernel-qcow2-linux-48b230a583965d33c32b4e3c29a1e5e15d7e55de.tar.xz kernel-qcow2-linux-48b230a583965d33c32b4e3c29a1e5e15d7e55de.zip |
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 <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions