diff options
-rw-r--r-- | fs/reiserfs/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index 438c71f0bc91..0ba98ca367c7 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c | |||
@@ -1826,7 +1826,7 @@ static int kupdate_transactions(struct super_block *s, | |||
1826 | struct reiserfs_journal *journal = SB_JOURNAL(s); | 1826 | struct reiserfs_journal *journal = SB_JOURNAL(s); |
1827 | chunk.nr = 0; | 1827 | chunk.nr = 0; |
1828 | 1828 | ||
1829 | mutex_lock(&journal->j_flush_mutex); | 1829 | reiserfs_mutex_lock_safe(&journal->j_flush_mutex, s); |
1830 | if (!journal_list_still_alive(s, orig_trans_id)) { | 1830 | if (!journal_list_still_alive(s, orig_trans_id)) { |
1831 | goto done; | 1831 | goto done; |
1832 | } | 1832 | } |