* [PATCH] s390 (6/12): dcss block driver fix.
@ 2004-04-08 14:29 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2004-04-08 14:29 UTC (permalink / raw)
To: akpm, linux-kernel
DCSS block device driver changes:
- Fix remove_store function, put_device is called too early.
diffstat:
drivers/s390/block/dcssblk.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urN linux-2.6/drivers/s390/block/dcssblk.c linux-2.6-s390/drivers/s390/block/dcssblk.c
--- linux-2.6/drivers/s390/block/dcssblk.c Sun Apr 4 05:36:26 2004
+++ linux-2.6-s390/drivers/s390/block/dcssblk.c Thu Apr 8 15:21:27 2004
@@ -548,10 +548,10 @@
dev_info->gd->queue = NULL;
put_disk(dev_info->gd);
device_unregister(&dev_info->dev);
- put_device(&dev_info->dev);
segment_unload(dev_info->segment_name);
PRINT_DEBUG("Segment %s unloaded successfully\n",
dev_info->segment_name);
+ put_device(&dev_info->dev);
rc = count;
out_buf:
kfree(local_buf);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-08 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-08 14:29 [PATCH] s390 (6/12): dcss block driver fix 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®