]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.c
Drop the superblock arg from all metadata methods.
[thirdparty/mdadm.git] / bitmap.c
index db2342bd636f904c500a8722f5c11406814601dd..fdf8884ddfe3d31524d6e583594adfa278425c82 100644 (file)
--- a/bitmap.c
+++ b/bitmap.c
@@ -220,7 +220,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, NULL);
+                       st->ss->locate_bitmap(st, fd);
                }
                ioctl(fd, BLKFLSBUF, 0); /* make sure we read current data */
                *stp = st;