git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
block
/
viodasd.c
diff --git
a/drivers/block/viodasd.c
b/drivers/block/viodasd.c
index
321d53d
..
9534c74
100644
(file)
--- a/
drivers/block/viodasd.c
+++ b/
drivers/block/viodasd.c
@@
-764,8
+764,8
@@
static int viodasd_remove(struct vio_dev *vdev)
d = &viodasd_devices[vdev->unit_address];
if (d->disk) {
del_gendisk(d->disk);
- blk_cleanup_queue(d->disk->queue);
put_disk(d->disk);
+ blk_cleanup_queue(d->disk->queue);
d->disk = NULL;
}
d->dev = NULL;