mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] s390 (2/4): dasd driver.
@ 2004-05-19 11:01 Martin Schwidefsky
  0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2004-05-19 11:01 UTC (permalink / raw)
  To: akpm, linux-kernel

[PATCH] s390: dasd driver.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

dasd device driver changes:
 - Reset pointer from ccw device to dasd_devmap on device removal.

diffstat:
 drivers/s390/block/dasd_devmap.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -urN linux-2.6/drivers/s390/block/dasd_devmap.c linux-2.6-s390/drivers/s390/block/dasd_devmap.c
--- linux-2.6/drivers/s390/block/dasd_devmap.c	Mon May 10 04:32:37 2004
+++ linux-2.6-s390/drivers/s390/block/dasd_devmap.c	Wed May 19 12:47:29 2004
@@ -11,7 +11,7 @@
  * functions may not be called from interrupt context. In particular
  * dasd_get_device is a no-no from interrupt context.
  *
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
  */
 
 #include <linux/config.h>
@@ -526,6 +526,9 @@
 	cdev = device->cdev;
 	device->cdev = NULL;
 
+	/* Disconnect dasd_devmap structure from ccw_device structure. */
+	cdev->dev.driver_data = NULL;
+
 	/* Put ccw_device structure. */
 	put_device(&cdev->dev);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-19 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 11:01 [PATCH] s390 (2/4): dasd driver Martin Schwidefsky

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

all inboxes | Powered by JetHome®