patch-2.1.56 linux/drivers/block/ataflop.c

Next file: linux/drivers/block/floppy.c
Previous file: linux/drivers/block/README.fd
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.55/linux/drivers/block/ataflop.c linux/drivers/block/ataflop.c
@@ -1981,7 +1981,7 @@
   if (!filp || (filp->f_mode & (2 | OPEN_WRITE_BIT)))
     /* if the file is mounted OR (writable now AND writable at open
        time) Linus: Does this cover all cases? */
-    block_fsync (inode, filp);
+    block_fsync (filp, filp->f_dentry);
 
   if (fd_ref[drive] < 0)
     fd_ref[drive] = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov