git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0527168
)
virtio-blk: fix remove oops
author
Marcelo Tosatti
<mtosatti@redhat.com>
Thu, 24 Apr 2008 18:49:53 +0000
(15:49 -0300)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 2 May 2008 11:50:46 +0000
(21:50 +1000)
Do not unregister the major at device remove, since there might be
another device instances around.
(qemu) pci_del 0 11
(qemu) ACPI: PCI interrupt for device 0000:00:0b.0 disabled
(qemu) pci_del 0 10
(qemu) ------------[ cut here ]------------
WARNING: at block/genhd.c:126 unregister_blkdev+0x74/0x9e()
ACPI: PCI interrupt for device 0000:00:0a.0 disabled
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c
patch
|
blob
|
history
diff --cc
drivers/block/virtio_blk.c
Simple merge