summaryrefslogtreecommitdiff
path: root/bitmap.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-09-12 05:24:10 +0000
committerNeil Brown <neilb@suse.de>2005-09-12 05:24:10 +0000
commitf6d75de8e0106a3789ed1a3aada306d197531e47 (patch)
tree9c6941767308f8fcb13f179f99eafbb38be73cf4 /bitmap.c
parent308e1801baa05edbcfda6e8054fdf90727581c62 (diff)
downloadmdadm-f6d75de8e0106a3789ed1a3aada306d197531e47.tar.gz
Fix remaining problems with hot-add bitmap to version-1 superblock
Also some more tests - r5 and r6 bitmaps Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitmap.c b/bitmap.c
index 5252069..82da00a 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -198,7 +198,7 @@ bitmap_info_t *bitmap_file_read(char *filename, int brief, struct supertype **st
/* just look at device... */
lseek(fd, 0, 0);
} else {
- st->ss->locate_bitmap(st, fd);
+ st->ss->locate_bitmap(st, fd, NULL);
}
ioctl(fd, BLKFLSBUF, 0); /* make sure we read current data */
*stp = st;