public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/?] Unlock when sn_oemdata can't be extended
@ 2007-10-24  0:34 Roel Kluin
  2007-10-24  1:04 ` [PATCH 2/2] Fix unlock on error Roel Kluin
  2007-10-24 10:19 ` [PATCH 1/?] Unlock when sn_oemdata can't be extended Roel Kluin
  0 siblings, 2 replies; 5+ messages in thread
From: Roel Kluin @ 2007-10-24  0:34 UTC (permalink / raw)
  To: lkml

    Unlock when sn_oemdata can't be extended
    Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/arch/ia64/sn/kernel/mca.c b/arch/ia64/sn/kernel/mca.c
index 3db62f2..868c9aa 100644
--- a/arch/ia64/sn/kernel/mca.c
+++ b/arch/ia64/sn/kernel/mca.c
@@ -98,6 +98,7 @@ sn_platform_plat_specific_err_print(const u8 * sect_header, u8 ** oemdata,
 	while (*sn_oemdata_size > sn_oemdata_bufsize) {
 		u8 *newbuf = vmalloc(*sn_oemdata_size);
 		if (!newbuf) {
+			mutex_unlock(&sn_oemdata_mutex);
 			printk(KERN_ERR "%s: unable to extend sn_oemdata\n",
 			       __FUNCTION__);
 			return 1;

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-26 10:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24  0:34 [PATCH 1/?] Unlock when sn_oemdata can't be extended Roel Kluin
2007-10-24  1:04 ` [PATCH 2/2] Fix unlock on error Roel Kluin
2007-10-24 10:19 ` [PATCH 1/?] Unlock when sn_oemdata can't be extended Roel Kluin
2007-10-24 16:38   ` Roel Kluin
2007-10-26 10:48   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox