- pcmcia-fix-rmmod-pcmcia-with-unbound-devices-fix.patch removed from -mm tree

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

 



The patch titled
     pcmcia-fix-rmmod-pcmcia-with-unbound-devices fix
has been removed from the -mm tree.  Its filename was
     pcmcia-fix-rmmod-pcmcia-with-unbound-devices-fix.patch

This patch was dropped because it was folded into pcmcia-fix-rmmod-pcmcia-with-unbound-devices.patch

------------------------------------------------------
Subject: pcmcia-fix-rmmod-pcmcia-with-unbound-devices fix
From: Daniel Ritz <daniel.ritz-ml@xxxxxxxxxxxxxx>

fix with the missed mutex:

Signed-off-by: Daniel Ritz <daniel.ritz@xxxxxx>
Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Cc: Pavol Gono <Palo.Gono@xxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/pcmcia/ds.c |    5 +++++
 1 file changed, 5 insertions(+)

diff -puN drivers/pcmcia/ds.c~pcmcia-fix-rmmod-pcmcia-with-unbound-devices-fix drivers/pcmcia/ds.c
--- a/drivers/pcmcia/ds.c~pcmcia-fix-rmmod-pcmcia-with-unbound-devices-fix
+++ a/drivers/pcmcia/ds.c
@@ -1274,6 +1274,11 @@ static void pcmcia_bus_remove_socket(str
 	/* unregister any unbound devices */
 	pcmcia_card_remove(socket, NULL);
 
+	/* unregister any unbound devices */
+	mutex_lock(&socket->skt_mutex);
+	pcmcia_card_remove(socket, NULL);
+	mutex_unlock(&socket->skt_mutex);
+
 	pcmcia_put_socket(socket);
 
 	return;
_

Patches currently in -mm which might be from daniel.ritz-ml@xxxxxxxxxxxxxx are

pcmcia-fix-rmmod-pcmcia-with-unbound-devices.patch
pcmcia-fix-rmmod-pcmcia-with-unbound-devices-fix.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