patch-2.4.0-test10 linux/drivers/char/ftape/lowlevel/ftape-bsm.c
Next file: linux/drivers/char/ftape/lowlevel/ftape-format.c
Previous file: linux/drivers/char/ftape/lowlevel/fdc-isr.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Oct 16 12:58:51 2000
- Orig file:
v2.4.0-test9/linux/drivers/char/ftape/lowlevel/ftape-bsm.c
- Orig date:
Tue Nov 23 10:29:15 1999
diff -u --recursive --new-file v2.4.0-test9/linux/drivers/char/ftape/lowlevel/ftape-bsm.c linux/drivers/char/ftape/lowlevel/ftape-bsm.c
@@ -39,8 +39,8 @@
/* Local vars.
*/
-static __u8 *bad_sector_map = NULL;
-static SectorCount *bsm_hash_ptr = NULL;
+static __u8 *bad_sector_map;
+static SectorCount *bsm_hash_ptr;
typedef enum {
forward, backward
@@ -454,7 +454,7 @@
* For true random access it may have to be redesigned.
*/
static int last_reference = -1;
- static SectorMap map = 0;
+ static SectorMap map;
if (segment_id > last_reference) {
/* Skip all sectors before segment_id
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)