diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-05-08 03:27:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:04 -0400 |
commit | ef51c97623b94f51e439ac91d2736aab3d1b6594 (patch) | |
tree | 5c020421f1e5a6e28b5a9f341fec32479a8ffb3a /include/linux | |
parent | 524e6752912a891a396a9cf74c5d7d60fff5510a (diff) |
Remove do_sync_file_range()
Remove do_sync_file_range() and convert callers to just use
do_sync_mapping_range().
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 527a09a82297..7cf0c54a46a7 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -849,11 +849,6 @@ extern int fcntl_getlease(struct file *filp); | |||
849 | /* fs/sync.c */ | 849 | /* fs/sync.c */ |
850 | extern int do_sync_mapping_range(struct address_space *mapping, loff_t offset, | 850 | extern int do_sync_mapping_range(struct address_space *mapping, loff_t offset, |
851 | loff_t endbyte, unsigned int flags); | 851 | loff_t endbyte, unsigned int flags); |
852 | static inline int do_sync_file_range(struct file *file, loff_t offset, | ||
853 | loff_t endbyte, unsigned int flags) | ||
854 | { | ||
855 | return do_sync_mapping_range(file->f_mapping, offset, endbyte, flags); | ||
856 | } | ||
857 | 852 | ||
858 | /* fs/locks.c */ | 853 | /* fs/locks.c */ |
859 | extern void locks_init_lock(struct file_lock *); | 854 | extern void locks_init_lock(struct file_lock *); |