]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
Add data_offset arg to ->avail_size
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index 6db7714a291774552ba82763a3d76719f8b89365..322af06d25e2069413b0ec19b28692c234863966 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -750,7 +750,8 @@ extern struct superswitch {
        int (*load_super)(struct supertype *st, int fd, char *devname);
        int (*load_container)(struct supertype *st, int fd, char *devname);
        struct supertype * (*match_metadata_desc)(char *arg);
-       __u64 (*avail_size)(struct supertype *st, __u64 size);
+       __u64 (*avail_size)(struct supertype *st, __u64 size,
+                           unsigned long long data_offset);
        unsigned long long (*min_acceptable_spare_size)(struct supertype *st);
        int (*add_internal_bitmap)(struct supertype *st, int *chunkp,
                                   int delay, int write_behind,