diff options
author | 2022-09-13 15:48:12 +0800 | |
---|---|---|
committer | 2022-10-04 13:31:44 -0700 | |
commit | fcc2d8cc96b2f6141bbbe5b1e8953db990794b44 (patch) | |
tree | 83d253986d03421ea4e54c1a124c6e9deffa4a1a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | f2fs: fix to account FS_CP_DATA_IO correctly (diff) | |
download | linux-dev-fcc2d8cc96b2f6141bbbe5b1e8953db990794b44.tar.xz linux-dev-fcc2d8cc96b2f6141bbbe5b1e8953db990794b44.zip |
f2fs: fix to detect corrupted meta ino
It is possible that ino of dirent or orphan inode is corrupted in a
fuzzed image, occasionally, if corrupted ino is equal to meta ino:
meta_ino, node_ino or compress_ino, caller of f2fs_iget() from below
call paths will get meta inode directly, it's not allowed, let's
add sanity check to detect such cases.
case #1
- recover_dentry
- __f2fs_find_entry
- f2fs_iget_retry
case #2
- recover_orphan_inode
- f2fs_iget_retry
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions