diff options
author | Paul Clements <paul.clements@steeleye.com> | 2006-10-09 03:17:22 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-10-09 03:17:22 +0200 |
commit | 10ae45c12c1ce17b15f25dcc619a292184add08b (patch) | |
tree | 841dbe1e6ab2a7c6b324cb8d851d2f2079b54910 /bitmap.c | |
parent | Fix some endian-ness issues with v1 superblocks. (diff) | |
download | mdadm-10ae45c12c1ce17b15f25dcc619a292184add08b.tar.xz mdadm-10ae45c12c1ce17b15f25dcc619a292184add08b.zip |
Fixed endian problem with bitmap metdata
From: Paul Clements <paul.clements@steeleye.com>
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ inline void sb_le_to_cpu(bitmap_super_t *sb) sb->chunksize = __le32_to_cpu(sb->chunksize); 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); } inline void sb_cpu_to_le(bitmap_super_t *sb) |