patch-2.1.28 linux/drivers/scsi/sd.c
Next file: linux/drivers/scsi/st.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:15:42 1997
- Orig file:
v2.1.27/linux/drivers/scsi/sd.c
- Orig date:
Sun Jan 26 02:07:20 1997
diff -u --recursive --new-file v2.1.27/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -1210,6 +1210,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