Whamcloud - gitweb
LU-7368 e2fsck: skip quota update when interrupted
[tools/e2fsprogs.git] / e2fsck / pass1.c
index ffdfc41..589d4b4 100644 (file)
@@ -1092,7 +1092,7 @@ void e2fsck_pass1(e2fsck_t ctx)
                                                          inode, inode_size);
                ehandler_operation(old_op);
                if (ctx->flags & E2F_FLAG_SIGNAL_MASK)
-                       return;
+                       goto endit;
                if (pctx.errcode == EXT2_ET_BAD_BLOCK_IN_INODE_TABLE) {
                        if (!ctx->inode_bb_map)
                                alloc_bb_map(ctx);
@@ -1642,6 +1642,8 @@ endit:
 
        if ((ctx->flags & E2F_FLAG_SIGNAL_MASK) == 0)
                print_resource_track(ctx, _("Pass 1"), &rtrack, ctx->fs->io);
+       else
+               ctx->invalid_bitmaps++;
 }
 
 /*