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

[dm-devel] [Patch 6 of 14] Device Mapper Mirror



(Please note that this patch is already in 2.6.19-rc4-mm2.  The tarballs
given in the original mail take this into account.)
 brassow

Index: linux-2.6.18.1/drivers/md/dm-raid1.c
===================================================================
--- linux-2.6.18.1.orig/drivers/md/dm-raid1.c	2006-11-01 14:03:43.000000000 -0600
+++ linux-2.6.18.1/drivers/md/dm-raid1.c	2006-11-01 14:16:14.000000000 -0600
@@ -1239,9 +1239,9 @@ static int mirror_status(struct dm_targe
 
 	case STATUSTYPE_TABLE:
 		sz = ms->rh.log->type->status(ms->rh.log, type, result, maxlen);
-		DMEMIT("%d ", ms->nr_mirrors);
+		DMEMIT("%d", ms->nr_mirrors);
 		for (m = 0; m < ms->nr_mirrors; m++)
-			DMEMIT("%s %llu ", ms->mirror[m].dev->name,
+			DMEMIT(" %s %llu", ms->mirror[m].dev->name,
 				(unsigned long long)ms->mirror[m].offset);
 	}
 



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