diff options
author | NeilBrown <neilb@suse.de> | 2012-10-04 16:34:20 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-04 16:34:20 +1000 |
commit | 83cd1e97cbc0c4749561b72864dbaaed3a014123 (patch) | |
tree | 88259eb678a8a63aa00f062ab8c5a05d75318139 /mdadm.h | |
parent | af4348ddd101b8cb0ffc303f43544f49419a1658 (diff) |
Add data_offset arg to ->init_super and use it in super1.c
So if ->data_offset is already set, use that rather than
computing one.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -726,7 +726,8 @@ extern struct superswitch { */ int (*init_super)(struct supertype *st, mdu_array_info_t *info, unsigned long long size, char *name, - char *homehost, int *uuid); + char *homehost, int *uuid, + unsigned long long data_offset); /* update the metadata to include new device, either at create or * when hot-adding a spare. |