summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:31:25 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:31:25 +1100
commit37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca (patch)
tree76f3fab53edd53f03fa76149c78ab3451cf7f449 /super1.c
parentb90c0e9a12090c435f23da8378b3436c93f77f2f (diff)
downloadmdadm-37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca.tar.gz
mdadm-37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca.tar.xz
mdadm-37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca.zip
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...
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c2
1 files changed, 1 insertions, 1 deletions
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);