patch-2.1.123 linux/drivers/scsi/st.c
Next file: linux/drivers/video/vgacon.c
Previous file: linux/drivers/scsi/ppa.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Sep 27 19:05:47 1998
- Orig file:
v2.1.122/linux/drivers/scsi/st.c
- Orig date:
Wed Sep 9 14:51:09 1998
diff -u --recursive --new-file v2.1.122/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -890,6 +890,9 @@
kdev_t devt = inode->i_rdev;
int dev;
+ if (filp->f_count > 1)
+ return 0;
+
dev = TAPE_NR(devt);
STp = &(scsi_tapes[dev]);
STm = &(STp->modes[STp->current_mode]);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov