patch-2.1.56 linux/fs/minix/fsync.c
Next file: linux/fs/namei.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Sep 13 11:07:28 1997
- Orig file:
v2.1.55/linux/fs/minix/fsync.c
- Orig date:
Mon Oct 28 04:29:26 1996
diff -u --recursive --new-file v2.1.55/linux/fs/minix/fsync.c linux/fs/minix/fsync.c
@@ -328,10 +328,14 @@
}
/*
- * The function which is called for file synchronization.
+ * The function which is called for file synchronization. File may be
+ * NULL
*/
-int minix_sync_file(struct inode * inode, struct file * file)
+
+int minix_sync_file(struct file * file, struct dentry *dentry)
{
+ struct inode *inode = dentry->d_inode;
+
if (INODE_VERSION(inode) == MINIX_V1)
return V1_minix_sync_file(inode, file);
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov