summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-04 16:34:20 +1000
committerNeilBrown <neilb@suse.de>2012-10-04 16:34:20 +1000
commitaf4348ddd101b8cb0ffc303f43544f49419a1658 (patch)
treee2cb9d59cd80e4562cf9872c18d9c43a97e93572 /mdadm.h
parent387fcd593c7a257618fa11ed4cf57d655ace4ada (diff)
Add data_offset arg to ->validate_geometry.
This is needed to return correct available size. It isn't really used yet. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 322af06d..04e7d0fc 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -778,6 +778,7 @@ extern struct superswitch {
int (*validate_geometry)(struct supertype *st, int level, int layout,
int raiddisks,
int *chunk, unsigned long long size,
+ unsigned long long data_offset,
char *subdev, unsigned long long *freesize,
int verbose);