diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-25 01:20:01 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-25 01:20:01 +0000 |
commit | 3797ba0b62debb71af4606910acacc9896a9ae3b (patch) | |
tree | 414eea76253c7871bfdf3bd9d1817771eb40917c /fs/coda/file.c | |
parent | 2b6c0c580795a4404f72d2a794214dd9e080709d (diff) |
Merge with Linux 2.4.0-test2.
Diffstat (limited to 'fs/coda/file.c')
-rw-r--r-- | fs/coda/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/coda/file.c b/fs/coda/file.c index 704b4d00b..9aecd716a 100644 --- a/fs/coda/file.c +++ b/fs/coda/file.c @@ -40,7 +40,7 @@ coda_file_write(struct file *file,const char *buf,size_t count,loff_t *ppos) } /* exported from this file (used for dirs) */ -int coda_fsync(struct file *coda_file, struct dentry *coda_dentry, int datasync) +int coda_fsync(struct file *coda_file, struct dentry *coda_dentry) { struct inode *inode = coda_dentry->d_inode; struct dentry cont_dentry; @@ -60,10 +60,10 @@ int coda_fsync(struct file *coda_file, struct dentry *coda_dentry, int datasync) cont_dentry.d_inode = (struct inode *)inode->i_mapping->host; down(&cont_dentry.d_inode->i_sem); - result = file_fsync(NULL, &cont_dentry, datasync); + result = file_fsync(NULL, &cont_dentry); up(&cont_dentry.d_inode->i_sem); - if ( !datasync && result == 0 ) { + if ( result == 0 ) { lock_kernel(); result = venus_fsync(inode->i_sb, coda_i2f(inode)); unlock_kernel(); |