patch-2.1.56 linux/fs/sysv/fsync.c
Next file: linux/include/linux/atalk.h
Previous file: linux/fs/smbfs/sock.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Sep 13 11:07:29 1997
- Orig file:
v2.1.55/linux/fs/sysv/fsync.c
- Orig date:
Sun Nov 26 09:23:10 1995
diff -u --recursive --new-file v2.1.55/linux/fs/sysv/fsync.c linux/fs/sysv/fsync.c
@@ -178,9 +178,10 @@
return err;
}
-int sysv_sync_file(struct inode * inode, struct file * file)
+int sysv_sync_file(struct file * file, struct dentry *dentry)
{
int wait, err = 0;
+ struct inode *inode = dentry->d_inode;
if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
S_ISLNK(inode->i_mode)))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov