From: Adam Kwolek Date: Fri, 3 Dec 2010 04:07:04 +0000 (+1100) Subject: FIX: sync_completed_fd handler has to be closed X-Git-Tag: mdadm-3.2~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d868c3a25e79c275de682e146f5238d3a446c6;p=thirdparty%2Fmdadm.git FIX: sync_completed_fd handler has to be closed sync_completed_fd handler has to be closed when array is closing. This is in pair to open handler code. Signed-off-by: Adam Kwolek Signed-off-by: NeilBrown --- diff --git a/managemon.c b/managemon.c index 12a37927..ebd9b73f 100644 --- a/managemon.c +++ b/managemon.c @@ -120,6 +120,8 @@ static void close_aa(struct active_array *aa) close(aa->action_fd); close(aa->info.state_fd); close(aa->resync_start_fd); + close(aa->metadata_fd); + close(aa->sync_completed_fd); } static void free_aa(struct active_array *aa)