summaryrefslogtreecommitdiff
path: root/md_p.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-24 09:48:18 +1100
committerNeilBrown <neilb@suse.de>2012-10-24 09:48:18 +1100
commitaacb2f816afbddf56c406039b8e2e6c0dbc8a8a0 (patch)
tree8395f6026e770effd39c6693ecb771119e56afb4 /md_p.h
parent24c7bc8432b955e7c32d889266f33b5fd75b2f33 (diff)
Assemble: add support for replacement devices.
Need to possibly collect 2 devices for each slot, and original and a replacement. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'md_p.h')
-rw-r--r--md_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/md_p.h b/md_p.h
index 517b2041..c7c4388b 100644
--- a/md_p.h
+++ b/md_p.h
@@ -84,6 +84,8 @@
* dire need
*/
+#define MD_DISK_REPLACEMENT 17
+
typedef struct mdp_device_descriptor_s {
__u32 number; /* 0 Device number in the entire set */
__u32 major; /* 1 Device major number */