diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-24 06:18:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:27 -0500 |
commit | 18e79b40ed9c5223b88771f805c69f5993fc131b (patch) | |
tree | cc628524d4bfe3166bbe9d8d7217a1cb009ea209 /include/linux/fs.h | |
parent | 676758bdb7bfca8413a85203921746f446e237be (diff) |
[PATCH] fsync: extract internal code
Pull the guts out of do_fsync() - we can use it elsewhere.
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 092cfaee0cd2..215696a0f16f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1478,6 +1478,7 @@ extern int wait_on_page_writeback_range(struct address_space *mapping, | |||
1478 | extern int __filemap_fdatawrite_range(struct address_space *mapping, | 1478 | extern int __filemap_fdatawrite_range(struct address_space *mapping, |
1479 | loff_t start, loff_t end, int sync_mode); | 1479 | loff_t start, loff_t end, int sync_mode); |
1480 | 1480 | ||
1481 | extern long do_fsync(struct file *file, int datasync); | ||
1481 | extern void sync_supers(void); | 1482 | extern void sync_supers(void); |
1482 | extern void sync_filesystems(int wait); | 1483 | extern void sync_filesystems(int wait); |
1483 | extern void emergency_sync(void); | 1484 | extern void emergency_sync(void); |