Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189246
b: refs/heads/master
c: 723b2ff
h: refs/heads/master
v: v3
  • Loading branch information
Joern Engel committed Mar 28, 2010
1 parent dac8773 commit 8164133
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81def6b9862764924a99ac1b680e73ac8c80ac64
refs/heads/master: 723b2ff40876678b49e61df34fb1d8001e34639d
1 change: 1 addition & 0 deletions trunk/fs/logfs/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ void do_logfs_journal_wl_pass(struct super_block *sb)
logfs_set_segment_reserved(sb, segno);
}
/* Manually move journal_area */
freeseg(sb, area->a_segno);
area->a_segno = super->s_journal_seg[0];
area->a_is_open = 0;
area->a_used_bytes = 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/fs/logfs/logfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/logfs/segment.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8164133

Please sign in to comment.