]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Fix crash in virtio_blk during modprobe ; rmmod ; modprobe
authorChris Lalancette <clalance@redhat.com>
Fri, 30 May 2008 20:09:41 +0000 (15:09 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 05:09:41 +0000 (15:09 +1000)
commitac9d463afb1ca2434335351f3b7d9e4c8f8470e9
tree02dd8e340507ebd7be549cca1c1a33ab42a02a7c
parente27810f11340987df123a99eb9ae14c054a55639
Fix crash in virtio_blk during modprobe ; rmmod ; modprobe

Fix a modprobe virtio_blk ; rmmod virtio_blk ; modprobe virtio_blk crash; this
was basically because we weren't doing "del_gendisk()" in the remove path.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (moved del_gendisk up)
drivers/block/virtio_blk.c