mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
81def6b986
commit
723b2ff408
3 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue