ChangeLog, pass2.c:
  Check the error return from ext2fs_dblist_iterate.

diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index b49d558..b0957d5 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jun 10 12:07:37 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+	* pass2.c (pass2): Check the error return from ext2fs_dblist_iterate.
+
 Thu May  8 22:45:27 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
 	* e2fsck.8.in: Fix minor typos and grammer oops found by Bill
diff --git a/e2fsck/pass2.c b/e2fsck/pass2.c
index 8822e8f..4c987f3 100644
--- a/e2fsck/pass2.c
+++ b/e2fsck/pass2.c
@@ -108,7 +108,12 @@
 	clear_problem_context(&cd.pctx);
 	
 	retval = ext2fs_dblist_iterate(fs->dblist, check_dir_block, &cd);
-
+	if (retval) {
+		com_err("ext2fs_dblist_iterate", retval,
+			"while iterating through dblist");
+		fatal_error(0);
+	}
+	
 	free(buf);
 	ext2fs_free_dblist(fs->dblist);