From fd095d09f2d475dc2e8599b1b8bae1cd65e91685 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 1 Dec 1997 04:02:08 +0000 Subject: Merge with 2.1.56 as first part of merging back my code. --- fs/sysv/fsync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fs/sysv') diff --git a/fs/sysv/fsync.c b/fs/sysv/fsync.c index df3b948df..96b0649a4 100644 --- a/fs/sysv/fsync.c +++ b/fs/sysv/fsync.c @@ -178,9 +178,10 @@ static int sync_tindirect(struct inode *inode, unsigned long *tiblockp, int conv 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))) -- cgit v1.2.3