summaryrefslogtreecommitdiff
path: root/debugfs/lsdel.c
diff options
context:
space:
mode:
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");