From 37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 14 Dec 2006 17:31:25 +1100 Subject: When resync finished, report the mismatch count if there is one. This doesn't get mailed out, but will appear in syslog... Maybe it should be mailed if it was a 'check' or 'repair' pass... --- super1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'super1.c') diff --git a/super1.c b/super1.c index b7d1c99..be1a0e5 100644 --- a/super1.c +++ b/super1.c @@ -1164,7 +1164,7 @@ add_internal_bitmap1(struct supertype *st, void *sbv, unsigned long long min_chunk; long offset; int chunk = *chunkp; - int room; + int room = 0; struct mdp_superblock_1 *sb = sbv; bitmap_super_t *bms = (bitmap_super_t*)(((char*)sb) + 1024); -- cgit