]> Pileus Git - ~andy/linux/blobdiff - drivers/md/dm-raid1.c
dm thin: commit before gathering status
[~andy/linux] / drivers / md / dm-raid1.c
index 596a3a1164a75d9c2d188195ca24bf78b7fb54c2..bc5ddba8045b84a24e996235604a5db24d1d0e58 100644 (file)
@@ -1367,7 +1367,7 @@ static char device_status_char(struct mirror *m)
 
 
 static int mirror_status(struct dm_target *ti, status_type_t type,
-                        char *result, unsigned int maxlen)
+                        unsigned status_flags, char *result, unsigned maxlen)
 {
        unsigned int m, sz = 0;
        struct mirror_set *ms = (struct mirror_set *) ti->private;