From f6d75de8e0106a3789ed1a3aada306d197531e47 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 12 Sep 2005 05:24:10 +0000 Subject: Fix remaining problems with hot-add bitmap to version-1 superblock Also some more tests - r5 and r6 bitmaps Signed-off-by: Neil Brown --- bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitmap.c') 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; -- cgit