summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-03-14 08:49:57 +0100
committerNeilBrown <neilb@suse.de>2011-03-14 08:49:57 +0100
commitde6a92199e12db17c760ace2735d691c973f33b1 (patch)
treeddbdb78bb49c9bf58b3a0c306eaa807984f566a9 /monitor.c
parentWarn the user about too small array size (diff)
parentddf: set vcnum correctly when creating a new virtual device in conflist (diff)
downloadmdadm-de6a92199e12db17c760ace2735d691c973f33b1.tar.xz
mdadm-de6a92199e12db17c760ace2735d691c973f33b1.zip
Merge branch 'master' into devel-3.2
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index fb2288d0..8e0f1b7e 100644
--- a/monitor.c
+++ b/monitor.c
@@ -421,6 +421,7 @@ static int read_and_act(struct active_array *a)
if (remove_result > 0) {
dprintf(" %d:removed", mdi->disk.raid_disk);
close(mdi->state_fd);
+ close(mdi->recovery_fd);
mdi->state_fd = -1;
}
}