diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-02 06:34:32 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 03:20:25 -0400 |
commit | d8a8559cd7a9ccac98d5f6f13297a2ff68a43627 (patch) | |
tree | 165e02117205e9790c21b2facc130b23addf3775 /include/linux/fs.h | |
parent | 0d03d59d9b31cd1e33b7e46a80b6fef66244b1f2 (diff) |
writeback: get rid of generic_sync_sb_inodes() export
This adds two new exported functions:
- writeback_inodes_sb(), which only attempts to writeback dirty inodes on
this super_block, for WB_SYNC_NONE writeout.
- sync_inodes_sb(), which writes out all dirty inodes on this super_block
and also waits for the IO to complete.
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c1f993515f51..46ff7dd6e164 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2071,8 +2071,6 @@ static inline void invalidate_remote_inode(struct inode *inode) | |||
2071 | extern int invalidate_inode_pages2(struct address_space *mapping); | 2071 | extern int invalidate_inode_pages2(struct address_space *mapping); |
2072 | extern int invalidate_inode_pages2_range(struct address_space *mapping, | 2072 | extern int invalidate_inode_pages2_range(struct address_space *mapping, |
2073 | pgoff_t start, pgoff_t end); | 2073 | pgoff_t start, pgoff_t end); |
2074 | extern void generic_sync_sb_inodes(struct super_block *sb, | ||
2075 | struct writeback_control *wbc); | ||
2076 | extern int write_inode_now(struct inode *, int); | 2074 | extern int write_inode_now(struct inode *, int); |
2077 | extern int filemap_fdatawrite(struct address_space *); | 2075 | extern int filemap_fdatawrite(struct address_space *); |
2078 | extern int filemap_flush(struct address_space *); | 2076 | extern int filemap_flush(struct address_space *); |