diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-20 01:36:50 -0700 |
---|---|---|
committer | root <root@dwillia2-linux.ch.intel.com> | 2009-01-20 01:36:50 -0700 |
commit | 66afdfa977d087a9cfae3175175537affd5ac6de (patch) | |
tree | 8da3fd7898249223574de3f74b19f75d46b7d0b8 /msg.h | |
parent | 1ffd2840df56eab568a5744c8d8a8484a42c18e2 (diff) | |
download | mdadm-66afdfa977d087a9cfae3175175537affd5ac6de.tar.gz mdadm-66afdfa977d087a9cfae3175175537affd5ac6de.tar.xz mdadm-66afdfa977d087a9cfae3175175537affd5ac6de.zip |
Assemble: fix busy detection
Use mddev_busy() as GET_ARRAY_INFO can succeed on 'clear' arrays.
Ran into this after an encountering a case where mdadm -Ss ended in
segfault (missing check for NULL return from map_by_devnum() in
sles11:Manage.c). So, tried to stop the array by hand with echo clear >
md/array_state, after which I could not reassemble since GET_ARRAY_INFO
was succeeding.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'msg.h')
0 files changed, 0 insertions, 0 deletions