]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.c
Create n bitmaps for clustered mode
[thirdparty/mdadm.git] / bitmap.c
index b1d54a6f7a54feec4a9219fb6fc9b157e8f1b79f..920033ad38893e56e18933967871e255cf485c43 100644 (file)
--- a/bitmap.c
+++ b/bitmap.c
@@ -32,6 +32,8 @@ inline void sb_le_to_cpu(bitmap_super_t *sb)
        sb->daemon_sleep = __le32_to_cpu(sb->daemon_sleep);
        sb->sync_size = __le64_to_cpu(sb->sync_size);
        sb->write_behind = __le32_to_cpu(sb->write_behind);
+       sb->nodes = __le32_to_cpu(sb->nodes);
+       sb->sectors_reserved = __le32_to_cpu(sb->sectors_reserved);
 }
 
 inline void sb_cpu_to_le(bitmap_super_t *sb)