diff options
| author | Chao Yu <yuchao0@huawei.com> | 2019-01-08 10:21:24 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-02-04 10:33:51 -0800 |
| commit | 82e2ea2753149761ec98206b117051eee3e743a3 (patch) | |
| tree | ed6112463561f56a4bd562e8697750d56e5330c4 /tools/perf/scripts/python | |
| parent | 1ba66eab9c23ab887c5c8ff1194c06d5b3e9caf7 (diff) | |
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')
0 files changed, 0 insertions, 0 deletions
