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 /fs | |
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 'fs')
-rw-r--r-- | fs/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, | |||
229 | !S_ISLNK(i_mode)) | 229 | !S_ISLNK(i_mode)) |
230 | goto out_put; | 230 | goto out_put; |
231 | 231 | ||
232 | ret = do_sync_file_range(file, offset, endbyte, flags); | 232 | ret = do_sync_mapping_range(file->f_mapping, offset, endbyte, flags); |
233 | out_put: | 233 | out_put: |
234 | fput_light(file, fput_needed); | 234 | fput_light(file, fput_needed); |
235 | out: | 235 | out: |