summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-05-15 16:48:35 +1000
committerNeil Brown <neilb@suse.de>2008-05-15 16:48:35 +1000
commitf7dd881f909a7bc552a6de3c1fc4920bb0bfdff2 (patch)
tree57f1a18231e53bff1c3244eed448fac1a356542f /mdadm.h
parent0fd5c350e55590d2adbbb6ca16ec86391abda14b (diff)
downloadmdadm-f7dd881f909a7bc552a6de3c1fc4920bb0bfdff2.tar.gz
mdadm-f7dd881f909a7bc552a6de3c1fc4920bb0bfdff2.tar.xz
mdadm-f7dd881f909a7bc552a6de3c1fc4920bb0bfdff2.zip
handle Manage_subdevs() for 'external' arrays
From: Dan Williams <dan.j.williams@intel.com> 1/ Block attempts to add/remove devices from container members 2/ Forward add/remove requests to containers Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 176d1c3..64f41fd 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -76,6 +76,7 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#include "md_u.h"
#include "md_p.h"
#include "bitmap.h"
+#include "msg.h"
#include <endian.h>
/* Redhat don't like to #include <asm/byteorder.h>, and
@@ -407,6 +408,7 @@ struct supertype {
void *info;
};
+extern struct supertype supertype_container_member;
extern struct supertype *super_by_fd(int fd);
extern struct supertype *guess_super(int fd);
extern struct supertype *dup_super(struct supertype *st);