From: Marcelo Tosatti Date: Thu, 24 Apr 2008 18:49:53 +0000 (-0300) Subject: virtio-blk: fix remove oops X-Git-Tag: v2.6.26-rc1~15^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e895e4c23b7f73dba7238db5c5c2dcffb2a4d9d;p=pandora-kernel.git virtio-blk: fix remove oops 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed