summaryrefslogtreecommitdiff
path: root/debugfs/lsdel.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2000-06-09 04:24:36 +0000
committerTheodore Ts'o <tytso@mit.edu>2000-06-09 04:24:36 +0000
commitee753091cf6df32010c5f3ab37bf1326eef18d08 (patch)
treef868098ed0502dfcad79f86df80f0023dd6bf5d6 /debugfs/lsdel.c
parent26ab531523a319682a099c9a91aa3b8aeab2835c (diff)
downloade2fsprogs-ee753091cf6df32010c5f3ab37bf1326eef18d08.tar.gz
ChangeLog, lsdel.c:
Handle bad blocks in inode table.
Diffstat (limited to 'debugfs/lsdel.c')
-rw-r--r--debugfs/lsdel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/debugfs/lsdel.c b/debugfs/lsdel.c
index f2e41dcb..0c0d21ce 100644
--- a/debugfs/lsdel.c
+++ b/debugfs/lsdel.c
@@ -158,7 +158,9 @@ void do_lsdel(int argc, char **argv)
}
next:
- retval = ext2fs_get_next_inode(scan, &ino, &inode);
+ do
+ retval = ext2fs_get_next_inode(scan, &ino, &inode);
+ while (retval == EXT2_ET_BAD_BLOCK_IN_INODE_TABLE);
if (retval) {
com_err("ls_deleted_inodes", retval,
"while doing inode scan");