summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-05-27 09:18:56 +1000
committerNeil Brown <neilb@suse.de>2008-05-27 09:18:56 +1000
commitdd15dc4a4d56d0b9ed29b558fb86a8945a18bc5c (patch)
tree44e1e6831b36d092ae3676e81694c9db8226eee5 /mdadm.h
parent159c3a1a7785693d21f5226182f9c066882bef66 (diff)
downloadmdadm-dd15dc4a4d56d0b9ed29b558fb86a8945a18bc5c.tar.gz
mdadm-dd15dc4a4d56d0b9ed29b558fb86a8945a18bc5c.tar.xz
mdadm-dd15dc4a4d56d0b9ed29b558fb86a8945a18bc5c.zip
Discard st->container_member
'container_member' isn't really a well defined concept. Each metadata might enumerate members differently, so just let each format /mdX/YYYY as appropriate.
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 73f22ae..f795b4a 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -154,7 +154,10 @@ struct mdinfo {
int cache_size; /* size of raid456 stripe cache*/
int mismatch_cnt;
char text_version[50];
- int container_member; /* for assembling external-metatdata arrays */
+
+ int container_member; /* for assembling external-metatdata arrays
+ * This is to be used internally by metadata
+ * handler only */
char sys_name[20];
struct mdinfo *devs;
@@ -444,7 +447,6 @@ struct supertype {
int minor_version;
int max_devs;
int container_dev; /* devnum of container */
- int container_member; /* numerical position in container */
void *sb;
void *info;