diff options
author | 2019-01-08 10:21:24 +0800 | |
---|---|---|
committer | 2019-01-22 15:31:25 -0800 | |
commit | ddf06b753a8573eb0323d91efeaffe397f7b673d (patch) | |
tree | 10fffee6d58a376cbb2c0f641746fdd0bae42e92 /tools/perf/scripts/python/stackcollapse.py | |
parent | f2fs: no need to check return value of debugfs_create functions (diff) | |
download | linux-dev-ddf06b753a8573eb0323d91efeaffe397f7b673d.tar.xz linux-dev-ddf06b753a8573eb0323d91efeaffe397f7b673d.zip |
f2fs: fix to trigger fsck if dirent.name_len is zero
While traversing dirents in f2fs_fill_dentries(), if bitmap is valid,
filename length should not be zero, otherwise, directory structure
consistency could be corrupted, in this case, let's print related
info and set SBI_NEED_FSCK to trigger fsck for repairing.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions