* [PATCH] array_try_spare(): missing map_unlock()
@ 2011-10-21 14:07 Jes.Sorensen
0 siblings, 0 replies; only message in thread
From: Jes.Sorensen @ 2011-10-21 14:07 UTC (permalink / raw)
To: neilb; +Cc: linux-raid, dledford
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-21 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 14:07 [PATCH] array_try_spare(): missing map_unlock() Jes.Sorensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).