Commit 472336a4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] lockfs: reiserfs fix

From: Chris Mason <mason@suse.com>

reiserfs_write_super_lockfs() is supposed to wait for the transaction to
commit.
parent 137718ec
...@@ -86,7 +86,7 @@ static void reiserfs_write_super_lockfs (struct super_block * s) ...@@ -86,7 +86,7 @@ static void reiserfs_write_super_lockfs (struct super_block * s)
reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1); reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1);
journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB (s)); journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB (s));
reiserfs_block_writes(&th) ; reiserfs_block_writes(&th) ;
journal_end(&th, s, 1) ; journal_end_sync(&th, s, 1) ;
} }
s->s_dirt = 0; s->s_dirt = 0;
reiserfs_write_unlock(s); reiserfs_write_unlock(s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment