From 072de836f53be56a70cecf70b43ae43b7ce17376 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 10:08:36 +0000 Subject: [PATCH] mk-rootfs.sh --- kernel/drivers/md/raid1.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/md/raid1.h b/kernel/drivers/md/raid1.h index e7ccad8..b7eb09e 100644 --- a/kernel/drivers/md/raid1.h +++ b/kernel/drivers/md/raid1.h @@ -180,7 +180,7 @@ * if the IO is in WRITE direction, then multiple bios are used. * We choose the number when they are allocated. */ - struct bio *bios[0]; + struct bio *bios[]; /* DO NOT PUT ANY NEW FIELDS HERE - bios array is contiguously alloced*/ }; -- Gitblit v1.6.2