diff options
author | Christoph Hellwig <hch@lst.de> | 2010-03-22 12:32:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:21 -0400 |
commit | 8018ab057480974e7f26a387bf4ce040e9a5f6f1 (patch) | |
tree | 98298180bf60797a028eca4f24234dc67d38a9d4 /include | |
parent | e970a573ce30a3976234dcfb67906c164b0df9ee (diff) |
sanitize vfs_fsync calling conventions
Now that the last user passing a NULL file pointer is gone we can remove
the redundant dentry argument and associated hacks inside vfs_fsynmc_range.
The next step will be removig the dentry argument from ->fsync, but given
the luck with the last round of method prototype changes I'd rather
defer this until after the main merge window.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 6660db898c41..f3e108314c93 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2084,9 +2084,9 @@ extern int __filemap_fdatawrite_range(struct address_space *mapping, | |||
2084 | extern int filemap_fdatawrite_range(struct address_space *mapping, | 2084 | extern int filemap_fdatawrite_range(struct address_space *mapping, |
2085 | loff_t start, loff_t end); | 2085 | loff_t start, loff_t end); |
2086 | 2086 | ||
2087 | extern int vfs_fsync_range(struct file *file, struct dentry *dentry, | 2087 | extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end, |
2088 | loff_t start, loff_t end, int datasync); | 2088 | int datasync); |
2089 | extern int vfs_fsync(struct file *file, struct dentry *dentry, int datasync); | 2089 | extern int vfs_fsync(struct file *file, int datasync); |
2090 | extern int generic_write_sync(struct file *file, loff_t pos, loff_t count); | 2090 | extern int generic_write_sync(struct file *file, loff_t pos, loff_t count); |
2091 | extern void sync_supers(void); | 2091 | extern void sync_supers(void); |
2092 | extern void emergency_sync(void); | 2092 | extern void emergency_sync(void); |