mirror of https://github.com/vitalif/e2fsprogs
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
parent
bfd2193e52
commit
86a63e92eb
|
@ -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 ^?
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue