diff options
author | Christoph Hellwig <hch@lst.de> | 2010-05-26 11:53:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-27 22:05:02 -0400 |
commit | 7ea8085910ef3dd4f3cad6845aaa2b580d39b115 (patch) | |
tree | d9c1edb5906f943f7d70bfb4b65106e29772d379 /include/linux/fs.h | |
parent | cc967be54710d97c05229b2e5ba2d00df84ddd64 (diff) |
drop unused dentry argument to ->fsync
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 3d9ed8302402..eb39e5eb77f5 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1498,7 +1498,7 @@ struct file_operations { | |||
1498 | int (*open) (struct inode *, struct file *); | 1498 | int (*open) (struct inode *, struct file *); |
1499 | int (*flush) (struct file *, fl_owner_t id); | 1499 | int (*flush) (struct file *, fl_owner_t id); |
1500 | int (*release) (struct inode *, struct file *); | 1500 | int (*release) (struct inode *, struct file *); |
1501 | int (*fsync) (struct file *, struct dentry *, int datasync); | 1501 | int (*fsync) (struct file *, int datasync); |
1502 | int (*aio_fsync) (struct kiocb *, int datasync); | 1502 | int (*aio_fsync) (struct kiocb *, int datasync); |
1503 | int (*fasync) (int, struct file *, int); | 1503 | int (*fasync) (int, struct file *, int); |
1504 | int (*lock) (struct file *, int, struct file_lock *); | 1504 | int (*lock) (struct file *, int, struct file_lock *); |
@@ -2213,7 +2213,7 @@ extern int generic_segment_checks(const struct iovec *iov, | |||
2213 | /* fs/block_dev.c */ | 2213 | /* fs/block_dev.c */ |
2214 | extern ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, | 2214 | extern ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, |
2215 | unsigned long nr_segs, loff_t pos); | 2215 | unsigned long nr_segs, loff_t pos); |
2216 | extern int blkdev_fsync(struct file *filp, struct dentry *dentry, int datasync); | 2216 | extern int blkdev_fsync(struct file *filp, int datasync); |
2217 | 2217 | ||
2218 | /* fs/splice.c */ | 2218 | /* fs/splice.c */ |
2219 | extern ssize_t generic_file_splice_read(struct file *, loff_t *, | 2219 | extern ssize_t generic_file_splice_read(struct file *, loff_t *, |
@@ -2348,7 +2348,7 @@ extern int simple_link(struct dentry *, struct inode *, struct dentry *); | |||
2348 | extern int simple_unlink(struct inode *, struct dentry *); | 2348 | extern int simple_unlink(struct inode *, struct dentry *); |
2349 | extern int simple_rmdir(struct inode *, struct dentry *); | 2349 | extern int simple_rmdir(struct inode *, struct dentry *); |
2350 | extern int simple_rename(struct inode *, struct dentry *, struct inode *, struct dentry *); | 2350 | extern int simple_rename(struct inode *, struct dentry *, struct inode *, struct dentry *); |
2351 | extern int simple_sync_file(struct file *, struct dentry *, int); | 2351 | extern int simple_sync_file(struct file *, int); |
2352 | extern int simple_empty(struct dentry *); | 2352 | extern int simple_empty(struct dentry *); |
2353 | extern int simple_readpage(struct file *file, struct page *page); | 2353 | extern int simple_readpage(struct file *file, struct page *page); |
2354 | extern int simple_write_begin(struct file *file, struct address_space *mapping, | 2354 | extern int simple_write_begin(struct file *file, struct address_space *mapping, |
@@ -2373,7 +2373,7 @@ extern ssize_t simple_read_from_buffer(void __user *to, size_t count, | |||
2373 | extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos, | 2373 | extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos, |
2374 | const void __user *from, size_t count); | 2374 | const void __user *from, size_t count); |
2375 | 2375 | ||
2376 | extern int simple_fsync(struct file *, struct dentry *, int); | 2376 | extern int simple_fsync(struct file *, int); |
2377 | 2377 | ||
2378 | #ifdef CONFIG_MIGRATION | 2378 | #ifdef CONFIG_MIGRATION |
2379 | extern int buffer_migrate_page(struct address_space *, | 2379 | extern int buffer_migrate_page(struct address_space *, |