ChangeLog, pass1.c:

pass1.c (process_inodes): Add shortcut handling; if
  	process_inodes_count is zero, return right away, to avoid calling
  	qsort with a non-positive count.
bitmap-optimize
Theodore Ts'o 1999-11-23 13:52:48 +00:00
parent bfd2193e52
commit 86a63e92eb
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
1999-11-19 <tytso@valinux.com>
* pass1.c (process_inodes): Add shortcut handling; if
process_inodes_count is zero, return right away, to avoid
calling qsort with a non-positive count.
* message.c (safe_print): Fix to properly display ^A, ^B, etc. and
to print Delete as ^?

View File

@ -626,6 +626,8 @@ static void process_inodes(e2fsck_t ctx, char *block_buf)
#if 0
printf("begin process_inodes: ");
#endif
if (process_inode_count == 0)
return;
old_operation = ehandler_operation(0);
old_stashed_inode = ctx->stashed_inode;
old_stashed_ino = ctx->stashed_ino;