summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2022-06-22 12:02:23 +0300
committerTheodore Ts'o <tytso@mit.edu>2022-08-03 06:56:17 +0300
commitb24e77ef1c6d4dbf42749ad4903c97539cc9755a (patch)
treee460fc768af3a33bd2f13825295f6bc51efeaff9 /scripts/gdb/linux/proc.py
parentc64a92992e6c1799f743999e1f1538fea0156aa4 (diff)
downloadlinux-b24e77ef1c6d4dbf42749ad4903c97539cc9755a.tar.xz
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 <yebin10@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220622090223.682234-1-yebin10@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions