From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> --- Incremental.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Incremental.c b/Incremental.c index cff7663..5c5f34f 100644 --- a/Incremental.c +++ b/Incremental.c @@ -1056,6 +1056,7 @@ static int array_try_spare(char *devname, int *dfdp, struct dev_policy *pol, } sysfs_free(chosen); } + map_unlock(&map); return rv; } -- 1.7.4.4 -- 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