summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logic/tpax_queue_vector.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/tpax_queue_vector.c b/src/logic/tpax_queue_vector.c
index 1b10feb..a74cf1f 100644
--- a/src/logic/tpax_queue_vector.c
+++ b/src/logic/tpax_queue_vector.c
@@ -162,6 +162,10 @@ static int tpax_update_cpio_queue_vector(const struct tpax_driver_ctx * dctx)
cpiov++;
}
+ if (nlink > 1)
+ for (idx=2; idx<=nlink; idx++)
+ cpiov[-idx]->nlink = nlink;
+
return 0;
}