patch-2.0.30 linux/drivers/scsi/sd.c
Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/scsi_ioctl.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Feb 28 15:14:18 1997
- Orig file:
v2.0.29/linux/drivers/scsi/sd.c
- Orig date:
Mon Oct 28 14:30:44 1996
diff -u --recursive --new-file v2.0.29/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -1206,6 +1206,7 @@
printk ("scsi : deleting disk entry.\n");
rscsi_disks[i].device = NULL;
sd_template.nr_dev--;
+ sd_gendisk.nr_real--;
return i;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov