patch-2.1.101 linux/drivers/block/hd.c
Next file: linux/drivers/block/ide.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 8 18:12:30 1998
- Orig file:
v2.1.100/linux/drivers/block/hd.c
- Orig date:
Thu May 7 22:51:48 1998
diff -u --recursive --new-file v2.1.100/linux/drivers/block/hd.c linux/drivers/block/hd.c
@@ -73,6 +73,8 @@
static int reset = 0;
static int hd_error = 0;
+#define SUBSECTOR(block) (CURRENT->current_nr_sectors > 0)
+
/*
* This struct defines the HD's and their types.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov