Handle has to be closed similar to Manage.c:880 One rule should apply to handlers passed to add_to_super(). Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Manage.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Manage.c b/Manage.c index f208d15..0349aa3 100644 --- a/Manage.c +++ b/Manage.c @@ -813,6 +813,7 @@ int Manage_subdevs(char *devname, int fd, close(dfd); return 1; } + close(dfd); } else if (dv->re_add) { /* this had better be raid1. * As we are "--re-add"ing we must find a spare slot -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html