mdadm/mdadm-3.2.2-no-sysfs-launch-container.patch
Jes Sorensen 6c5cfe0908 Fix problem with IMSM raid not being started correctly during boot
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2011-10-19 16:46:54 +02:00

27 lines
860 B
Diff

From 91d610e0cb5a22685c6cc1d31b0ff3d4539a6c99 Mon Sep 17 00:00:00 2001
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Date: Thu, 13 Oct 2011 19:46:52 +0200
Subject: [PATCH 2/3] Don't tell sysfs to launch the container as we are doing
it ourselves
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
Incremental.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Incremental.c b/Incremental.c
index 9fa6800..55a4589 100644
--- a/Incremental.c
+++ b/Incremental.c
@@ -446,7 +446,6 @@ int Incremental(char *devname, int verbose, int runstop,
if (info.array.level == LEVEL_CONTAINER) {
int devnum = devnum; /* defined and used iff ->external */
/* Try to assemble within the container */
- sysfs_uevent(&info, "change");
if (verbose >= 0)
fprintf(stderr, Name
": container %s now has %d devices\n",
--
1.7.6.4