Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=41f667f213da4776e5883ce1e4188dc8e71f275e Commit: 41f667f213da4776e5883ce1e4188dc8e71f275e Parent: 346f3799c7785938cf152e36b9127e1153c146e4 Author: Roel Kluin <[EMAIL PROTECTED]> AuthorDate: Mon Oct 29 14:32:30 2007 -0700 Committer: Tony Luck <[EMAIL PROTECTED]> CommitDate: Mon Oct 29 14:32:30 2007 -0700
[IA64] arch/ia64/sn/kernel/mca.c: undo lock when sn_oemdata can't be extended Clean up locking state in failure path. Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> Cc: Jes Sorensen <[EMAIL PROTECTED]> Cc: "Luck, Tony" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Tony Luck <[EMAIL PROTECTED]> --- arch/ia64/sn/kernel/mca.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html