summaryrefslogtreecommitdiff
path: root/debugfs
diff options
context:
space:
mode:
Diffstat (limited to 'debugfs')
-rw-r--r--debugfs/ChangeLog4
-rw-r--r--debugfs/lsdel.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog
index eda81e96..3bbdd6f3 100644
--- a/debugfs/ChangeLog
+++ b/debugfs/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-09 <tytso@snap.thunk.org>
+
+ * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
+
2000-05-27 Theodore Ts'o <tytso@valinux.com>
* debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
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");