The only way the preceding loop will terminate is if n already has this value. Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx> --- checkpoint/checkpoint.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/checkpoint/checkpoint.c b/checkpoint/checkpoint.c index 5a76d2b..396ec29 100644 --- a/checkpoint/checkpoint.c +++ b/checkpoint/checkpoint.c @@ -490,7 +490,6 @@ static int checkpoint_pids(struct ckpt_ctx *ctx) } rcu_read_unlock(); - n = min(nr_tasks, CKPT_HDR_PIDS_CHUNK); ret = ckpt_kwrite(ctx, h, n * sizeof(*h)); if (ret < 0) break; -- 1.5.6.3 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers