summaryrefslogtreecommitdiffstats
path: root/fs/logfs/segment.c
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2010-03-28 18:10:07 +0200
committerJoern Engel <joern@logfs.org>2010-03-28 18:10:07 +0200
commit723b2ff40876678b49e61df34fb1d8001e34639d (patch)
tree509282c61e150b6059ea7f84c451641c2b69f757 /fs/logfs/segment.c
parent81def6b9862764924a99ac1b680e73ac8c80ac64 (diff)
downloadlinux-723b2ff40876678b49e61df34fb1d8001e34639d.tar.gz
linux-723b2ff40876678b49e61df34fb1d8001e34639d.tar.bz2
linux-723b2ff40876678b49e61df34fb1d8001e34639d.zip
[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/segment.c')
-rw-r--r--fs/logfs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/logfs/segment.c b/fs/logfs/segment.c
index ff9d7f3b4d36..0ecd8f07c11e 100644
--- a/fs/logfs/segment.c
+++ b/fs/logfs/segment.c
@@ -691,7 +691,7 @@ int logfs_segment_delete(struct inode *inode, struct logfs_shadow *shadow)
return 0;
}
-static void freeseg(struct super_block *sb, u32 segno)
+void freeseg(struct super_block *sb, u32 segno)
{
struct logfs_super *super = logfs_super(sb);
struct address_space *mapping = super->s_mapping_inode->i_mapping;