diff options
author | Joern Engel <joern@logfs.org> | 2010-03-28 18:10:07 +0200 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2010-03-28 18:10:07 +0200 |
commit | 723b2ff40876678b49e61df34fb1d8001e34639d (patch) | |
tree | 509282c61e150b6059ea7f84c451641c2b69f757 /fs/logfs/logfs.h | |
parent | 81def6b9862764924a99ac1b680e73ac8c80ac64 (diff) |
[LogFS] Clear PagePrivate when moving journal
do_logfs_journal_wl_pass() must call freeseg(), thereby clear
PagePrivate on all pages of the current journal segment.
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'fs/logfs/logfs.h')
-rw-r--r-- | fs/logfs/logfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h index 12977943137..b84b0eec602 100644 --- a/fs/logfs/logfs.h +++ b/fs/logfs/logfs.h @@ -587,6 +587,7 @@ void move_page_to_btree(struct page *page); int logfs_init_mapping(struct super_block *sb); void logfs_sync_area(struct logfs_area *area); void logfs_sync_segments(struct super_block *sb); +void freeseg(struct super_block *sb, u32 segno); /* area handling */ int logfs_init_areas(struct super_block *sb); |