summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-05-27 09:18:57 +1000
committerNeil Brown <neilb@suse.de>2008-05-27 09:18:57 +1000
commitcba0191bad1617bdbc43c4a9dc2ad8c0a10f5d02 (patch)
treed71ccabaa0a9e18ac3446ea8c43f54e4f9cef6fc /mdadm.h
parentdd15dc4a4d56d0b9ed29b558fb86a8945a18bc5c (diff)
downloadmdadm-cba0191bad1617bdbc43c4a9dc2ad8c0a10f5d02.tar.gz
mdadm-cba0191bad1617bdbc43c4a9dc2ad8c0a10f5d02.tar.xz
mdadm-cba0191bad1617bdbc43c4a9dc2ad8c0a10f5d02.zip
Parse the 'instance' part of external:/mdXX/INST in metadata handler.
This give more flexability.
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index f795b4a..783cd82 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -413,7 +413,8 @@ extern struct superswitch {
struct mdinfo *(*container_content)(struct supertype *st);
/* for mdmon */
- int (*open_new)(struct supertype *c, struct active_array *a, int inst);
+ int (*open_new)(struct supertype *c, struct active_array *a,
+ char *inst);
/* Tell the metadata handler the current state of the array.
* This covers whether it is known to be consistent (no pending writes)