patch-2.3.10 linux/drivers/scsi/st.c
Next file: linux/drivers/scsi/sym53c416.c
Previous file: linux/drivers/scsi/sd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jul 3 10:42:38 1999
- Orig file:
v2.3.9/linux/drivers/scsi/st.c
- Orig date:
Wed Jun 30 13:38:20 1999
diff -u --recursive --new-file v2.3.9/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -890,7 +890,7 @@
kdev_t devt = inode->i_rdev;
int dev;
- if (atomic_read(&filp->f_count) > 1)
+ if (file_count(filp) > 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)