summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-07-12 20:27:39 +1000
committerNeil Brown <neilb@suse.de>2008-07-12 20:27:39 +1000
commitd2ca644994d642c31b41242140e1fe819711c8f7 (patch)
tree787148e3e6e9bb102e608e08a7baca53509ca9d1 /mdadm.h
parent0d481d3723398828c81963dcd58b1bf768e2c0c2 (diff)
downloadmdadm-d2ca644994d642c31b41242140e1fe819711c8f7.tar.gz
mdadm-d2ca644994d642c31b41242140e1fe819711c8f7.tar.xz
mdadm-d2ca644994d642c31b41242140e1fe819711c8f7.zip
Remove getinfo_super_n and do some other cleaning up.
Getting close to a sensible description of what some of the superswitch methods are supposed to do!
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdadm.h b/mdadm.h
index c728bad..e23a703 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -429,10 +429,12 @@ extern struct superswitch {
* The determination is made either by:
* load_super being given a 'component' string.
* validate_geometry determining what to create.
- * getinfo_super_n really needs to be removed..
+ * The info includes both array information and device information.
+ * The particular device should be:
+ * The last device added by add_to_super
+ * The device the metadata was loaded from by load_super
*/
void (*getinfo_super)(struct supertype *st, struct mdinfo *info);
- void (*getinfo_super_n)(struct supertype *st, struct mdinfo *info);
/* Check if the given metadata is flagged as belonging to "this"
* host. For arrays that don't determine a minor-number, this