+ arch-ia64-sn-kernel-mcac-undo-lock-when-sn_oemdata-cant-be-extended.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     arch/ia64/sn/kernel/mca.c: undo lock when sn_oemdata can't be extended
has been added to the -mm tree.  Its filename is
     arch-ia64-sn-kernel-mcac-undo-lock-when-sn_oemdata-cant-be-extended.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: arch/ia64/sn/kernel/mca.c: undo lock when sn_oemdata can't be extended
From: Roel Kluin <12o3l@xxxxxxxxxx>

Signed-off-by: Roel Kluin <12o3l@xxxxxxxxxx>
Cc: Jes Sorensen <jes@xxxxxxxxxxxxxxxxxx>
Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/ia64/sn/kernel/mca.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/ia64/sn/kernel/mca.c~arch-ia64-sn-kernel-mcac-undo-lock-when-sn_oemdata-cant-be-extended arch/ia64/sn/kernel/mca.c
--- a/arch/ia64/sn/kernel/mca.c~arch-ia64-sn-kernel-mcac-undo-lock-when-sn_oemdata-cant-be-extended
+++ a/arch/ia64/sn/kernel/mca.c
@@ -98,6 +98,7 @@ sn_platform_plat_specific_err_print(cons
 	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;
_

Patches currently in -mm which might be from 12o3l@xxxxxxxxxx are

origin.patch
git-arm-master.patch
unlock-when-ssp-tries-to-close-an-invalid-port.patch
dvb-dont-return-with-locks-held.patch
lmc_ioctl-dont-return-with-locks-held.patch
lmc_ioctl-dont-return-with-locks-held-fix.patch
git-ocfs2.patch
git-s390.patch
itco_wdt_start-undo-locking-when-reboot-is-disabled.patch
cris-gpio-undo-locks-before-returning.patch
arch-ia64-sn-kernel-mcac-undo-lock-when-sn_oemdata-cant-be-extended.patch
i4l-errors-with-assignments-in-if.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux