diff options
author | Joern Engel <joern@logfs.org> | 2010-03-28 12:10:07 -0400 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2010-03-28 12:10:07 -0400 |
commit | 723b2ff40876678b49e61df34fb1d8001e34639d (patch) | |
tree | 509282c61e150b6059ea7f84c451641c2b69f757 /fs/logfs/journal.c | |
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/journal.c')
-rw-r--r-- | fs/logfs/journal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/journal.c b/fs/logfs/journal.c index 6ad30a4c9052..15454ac7bd93 100644 --- a/fs/logfs/journal.c +++ b/fs/logfs/journal.c | |||
@@ -821,6 +821,7 @@ void do_logfs_journal_wl_pass(struct super_block *sb) | |||
821 | logfs_set_segment_reserved(sb, segno); | 821 | logfs_set_segment_reserved(sb, segno); |
822 | } | 822 | } |
823 | /* Manually move journal_area */ | 823 | /* Manually move journal_area */ |
824 | freeseg(sb, area->a_segno); | ||
824 | area->a_segno = super->s_journal_seg[0]; | 825 | area->a_segno = super->s_journal_seg[0]; |
825 | area->a_is_open = 0; | 826 | area->a_is_open = 0; |
826 | area->a_used_bytes = 0; | 827 | area->a_used_bytes = 0; |