From 56a8da69b1decc48d6563202648a89a630866d61 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 4 Nov 2008 20:51:12 +1100 Subject: [PATCH] Assemble: we were missing a 'close' Signed-off-by: NeilBrown --- Assemble.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Assemble.c b/Assemble.c index 12e67b2c..0aff1be8 100644 --- a/Assemble.c +++ b/Assemble.c @@ -1169,6 +1169,7 @@ int Assemble(struct supertype *st, char *mddev, } if (auto_assem) ioctl(mdfd, STOP_ARRAY, NULL); + close(mdfd); return 1; } else { /* The "chosen_drive" is a good choice, and if necessary, the superblock has -- 2.39.2