]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
When resync finished, report the mismatch count if there is one.
[thirdparty/mdadm.git] / super1.c
index b7d1c996e88a824bdd3eb492aef2897b7a891bac..be1a0e5baf9d4be2494b0f4086e5e2d478ea4aff 100644 (file)
--- 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);