>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