patch-2.3.9 linux/drivers/scsi/st.c
Next file: linux/drivers/sgi/Config.in
Previous file: linux/drivers/scsi/sd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jun 29 09:22:08 1999
- Orig file:
v2.3.8/linux/drivers/scsi/st.c
- Orig date:
Sat May 22 14:50:22 1999
diff -u --recursive --new-file v2.3.8/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -890,7 +890,7 @@
kdev_t devt = inode->i_rdev;
int dev;
- if (filp->f_count > 1)
+ if (atomic_read(&filp->f_count) > 1)
return 0;
dev = TAPE_NR(devt);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)