diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-07-19 23:59:25 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-07-19 23:59:25 +0200 |
commit | 1dccfff910ce9d854330302b9a34636d63cdac7b (patch) | |
tree | b031a618780c833d50f7dc82bbb9eeee270cb158 /mdadm.h | |
parent | imsm: fix a -O2 build warning (diff) | |
download | mdadm-1dccfff910ce9d854330302b9a34636d63cdac7b.tar.xz mdadm-1dccfff910ce9d854330302b9a34636d63cdac7b.zip |
Incremental: restore assembly for inactive containers, block active
GET_ARRAY_INFO always succeeds on an inactive container, so we need to
be a bit more diligent about adding a disk to an active container.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -930,6 +930,7 @@ extern int open_mddev(char *dev, int report_errors); extern int open_container(int fd); extern int is_container_member(struct mdstat_ent *ent, char *devname); extern int is_subarray_active(char *subarray, char *devname); +int is_container_active(char *devname); extern int open_subarray(char *dev, struct supertype *st, int quiet); extern struct superswitch *version_to_superswitch(char *vers); |