[mdadm PATCH 10/11] Enable OLCE for external IMSM metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 45520939e3eea6b4f697de6f813f9d362dc7b5bd Mon Sep 17 00:00:00 2001
From: Adam Kwolek <adam.kwolek@xxxxxxxxx>
Date: Thu, 18 Feb 2010 11:10:48 +0100
Subject: [PATCH] OLCE: Workaround for mdstat problems

Changes to be committed:
	modified:   mdstat.c

Core can occur in mdmon if lines are released during configuration changes.
This should be resolved by new mdstat written by Artur Wojcik.

Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx>
---
 mdstat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mdstat.c b/mdstat.c
index d7045a7..5883d0e 100644
--- a/mdstat.c
+++ b/mdstat.c
@@ -129,7 +129,7 @@ struct mdstat_ent *mdstat_read(int hold, int start)
 
 	all = NULL;
 	end = &all;
-	for (; (line = conf_line(f)) ; free_line(line)) {
+	for (; (line = conf_line(f)) ; /* free_line(line)*/) {
 		struct mdstat_ent *ent;
 		char *w;
 		int devnum;
-- 
1.6.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux