diff options
author | Ye Bin <[email protected]> | 2022-06-22 17:02:23 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2022-08-02 23:56:17 -0400 |
commit | b24e77ef1c6d4dbf42749ad4903c97539cc9755a (patch) | |
tree | e460fc768af3a33bd2f13825295f6bc51efeaff9 /scripts/gdb/linux/timerlist.py | |
parent | c64a92992e6c1799f743999e1f1538fea0156aa4 (diff) |
ext4: avoid remove directory when directory is corrupted
Now if check directoy entry is corrupted, ext4_empty_dir may return true
then directory will be removed when file system mounted with "errors=continue".
In order not to make things worse just return false when directory is corrupted.
Signed-off-by: Ye Bin <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions