patch-2.1.56 linux/drivers/block/swim3.c
Next file: linux/drivers/char/amigamouse.c
Previous file: linux/drivers/block/rd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Sep 13 11:07:27 1997
- Orig file:
v2.1.55/linux/drivers/block/swim3.c
- Orig date:
Mon Aug 18 18:19:45 1997
diff -u --recursive --new-file v2.1.55/linux/drivers/block/swim3.c linux/drivers/block/swim3.c
@@ -842,7 +842,7 @@
return -ENXIO;
fs = &floppy_states[0];
if (filp == 0 || (filp->f_mode & (2 | OPEN_WRITE_BIT)))
- block_fsync(inode, filp);
+ block_fsync(filp, filp->f_dentry);
sw = fs->swim3;
if (fs->ref_count > 0 && --fs->ref_count == 0) {
swim3_action(fs, MOTOR_OFF);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov