From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:18:26 +0000 Subject: [PATCH] write in 30M --- 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