diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ext3_fs.h | 2 | ||||
-rw-r--r-- | include/linux/fb.h | 3 | ||||
-rw-r--r-- | include/linux/fs.h | 9 |
3 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index 5e06acf95d0f..0c473fd79acb 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h | |||
@@ -877,7 +877,7 @@ extern int ext3_htree_store_dirent(struct file *dir_file, __u32 hash, | |||
877 | extern void ext3_htree_free_dir_info(struct dir_private_info *p); | 877 | extern void ext3_htree_free_dir_info(struct dir_private_info *p); |
878 | 878 | ||
879 | /* fsync.c */ | 879 | /* fsync.c */ |
880 | extern int ext3_sync_file(struct file *, int); | 880 | extern int ext3_sync_file(struct file *, loff_t, loff_t, int); |
881 | 881 | ||
882 | /* hash.c */ | 882 | /* hash.c */ |
883 | extern int ext3fs_dirhash(const char *name, int len, struct | 883 | extern int ext3fs_dirhash(const char *name, int len, struct |
diff --git a/include/linux/fb.h b/include/linux/fb.h index 6a8274877171..1d6836c498dd 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
@@ -1043,7 +1043,8 @@ extern void fb_deferred_io_open(struct fb_info *info, | |||
1043 | struct inode *inode, | 1043 | struct inode *inode, |
1044 | struct file *file); | 1044 | struct file *file); |
1045 | extern void fb_deferred_io_cleanup(struct fb_info *info); | 1045 | extern void fb_deferred_io_cleanup(struct fb_info *info); |
1046 | extern int fb_deferred_io_fsync(struct file *file, int datasync); | 1046 | extern int fb_deferred_io_fsync(struct file *file, loff_t start, |
1047 | loff_t end, int datasync); | ||
1047 | 1048 | ||
1048 | static inline bool fb_be_math(struct fb_info *info) | 1049 | static inline bool fb_be_math(struct fb_info *info) |
1049 | { | 1050 | { |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 4a61f98823a6..9cd2075c4a39 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1572,7 +1572,7 @@ struct file_operations { | |||
1572 | int (*open) (struct inode *, struct file *); | 1572 | int (*open) (struct inode *, struct file *); |
1573 | int (*flush) (struct file *, fl_owner_t id); | 1573 | int (*flush) (struct file *, fl_owner_t id); |
1574 | int (*release) (struct inode *, struct file *); | 1574 | int (*release) (struct inode *, struct file *); |
1575 | int (*fsync) (struct file *, int datasync); | 1575 | int (*fsync) (struct file *, loff_t, loff_t, int datasync); |
1576 | int (*aio_fsync) (struct kiocb *, int datasync); | 1576 | int (*aio_fsync) (struct kiocb *, int datasync); |
1577 | int (*fasync) (int, struct file *, int); | 1577 | int (*fasync) (int, struct file *, int); |
1578 | int (*lock) (struct file *, int, struct file_lock *); | 1578 | int (*lock) (struct file *, int, struct file_lock *); |
@@ -2360,7 +2360,8 @@ extern int generic_segment_checks(const struct iovec *iov, | |||
2360 | /* fs/block_dev.c */ | 2360 | /* fs/block_dev.c */ |
2361 | extern ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, | 2361 | extern ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, |
2362 | unsigned long nr_segs, loff_t pos); | 2362 | unsigned long nr_segs, loff_t pos); |
2363 | extern int blkdev_fsync(struct file *filp, int datasync); | 2363 | extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end, |
2364 | int datasync); | ||
2364 | 2365 | ||
2365 | /* fs/splice.c */ | 2366 | /* fs/splice.c */ |
2366 | extern ssize_t generic_file_splice_read(struct file *, loff_t *, | 2367 | extern ssize_t generic_file_splice_read(struct file *, loff_t *, |
@@ -2490,7 +2491,7 @@ extern int simple_link(struct dentry *, struct inode *, struct dentry *); | |||
2490 | extern int simple_unlink(struct inode *, struct dentry *); | 2491 | extern int simple_unlink(struct inode *, struct dentry *); |
2491 | extern int simple_rmdir(struct inode *, struct dentry *); | 2492 | extern int simple_rmdir(struct inode *, struct dentry *); |
2492 | extern int simple_rename(struct inode *, struct dentry *, struct inode *, struct dentry *); | 2493 | extern int simple_rename(struct inode *, struct dentry *, struct inode *, struct dentry *); |
2493 | extern int noop_fsync(struct file *, int); | 2494 | extern int noop_fsync(struct file *, loff_t, loff_t, int); |
2494 | extern int simple_empty(struct dentry *); | 2495 | extern int simple_empty(struct dentry *); |
2495 | extern int simple_readpage(struct file *file, struct page *page); | 2496 | extern int simple_readpage(struct file *file, struct page *page); |
2496 | extern int simple_write_begin(struct file *file, struct address_space *mapping, | 2497 | extern int simple_write_begin(struct file *file, struct address_space *mapping, |
@@ -2515,7 +2516,7 @@ extern ssize_t simple_read_from_buffer(void __user *to, size_t count, | |||
2515 | extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos, | 2516 | extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos, |
2516 | const void __user *from, size_t count); | 2517 | const void __user *from, size_t count); |
2517 | 2518 | ||
2518 | extern int generic_file_fsync(struct file *, int); | 2519 | extern int generic_file_fsync(struct file *, loff_t, loff_t, int); |
2519 | 2520 | ||
2520 | extern int generic_check_addressable(unsigned, u64); | 2521 | extern int generic_check_addressable(unsigned, u64); |
2521 | 2522 | ||