On Fri, Nov 18 2005, mikem wrote: > Patch 3 of 3 > > Jeff Garzik pointed me to his code to see how to remove a disk from > the system _properly_. Well, here it is... > Every place we remove disks we are now testing before calling del_gendisk > or blk_cleanup_queue and then call put_disk. Thanks, applied. -- Jens Axboe - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html