I've forwarded this on to Scott. I could fix it in my patch, but
my suspicion is it should be corrected in his patch.
--Matt
On Wed, 10 Nov 1999, Keith Owens wrote:
|>Missing { } in sd.c, SCSI blkdev was not being unregistered correctly.
|>
|>Index: 13.2/drivers/scsi/sd.c
|>--- 13.2/drivers/scsi/sd.c Fri, 05 Nov 1999 23:27:35 +1100 keith
(linux-2.2/d/b/42_sd.c 1.2.1.5 644)
|>+++ 13.2(w)/drivers/scsi/sd.c Wed, 10 Nov 1999 00:03:41 +1100 keith
(linux-2.2/d/b/42_sd.c 1.2.1.5 644)
|>@@ -2571,11 +2571,12 @@
|>
|> scsi_unregister_module(MODULE_SCSI_DEV, &sd_template);
|>
|>- for (i=0; i <= (sd_template.dev_max - 1) / SCSI_DISKS_PER_MAJOR; i++)
|>+ for (i=0; i <= (sd_template.dev_max - 1) / SCSI_DISKS_PER_MAJOR; i++) {
|> #if defined(CONFIG_RAW)
|> unregister_chrdev(SD_MAJOR(i),"sd"),
|> #endif
|> unregister_blkdev(SD_MAJOR(i),"sd");
|>+ }
|>
|> sd_registered--;
|> if( rscsi_disks != NULL )
|>
|