diff options
author | Neil Brown <neilb@suse.de> | 2006-05-26 07:12:48 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-26 07:12:48 +0000 |
commit | 41a3b72a9ce75070eb614c42de6704fa61bb6086 (patch) | |
tree | 32bcc24716c9c69368966591b72dd2716b025934 /super1.c | |
parent | d1f1011b94caa3506c63fb3d1d1a99dd282c7bc5 (diff) | |
download | mdadm-41a3b72a9ce75070eb614c42de6704fa61bb6086.tar.gz mdadm-41a3b72a9ce75070eb614c42de6704fa61bb6086.tar.xz mdadm-41a3b72a9ce75070eb614c42de6704fa61bb6086.zip |
Release 2.5mdadm-2.5
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -712,7 +712,7 @@ static int store_super1(struct supertype *st, int fd, void *sbv) if (sb->feature_map & __cpu_to_le32(MD_FEATURE_BITMAP_OFFSET)) { struct bitmap_super_s *bm = (struct bitmap_super_s*) - ((char*)sb)+1024; + (((char*)sb)+1024); if (__le32_to_cpu(bm->magic) == BITMAP_MAGIC) { locate_bitmap1(st, fd, sbv); write(fd, bm, sizeof(*bm)); |