diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index 438c71f0bc91640bf0daed68fe17229b1bec88bc..0ba98ca367c7ef573992578c5fea816be6c92059 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c @@ -1826,7 +1826,7 @@ static int kupdate_transactions(struct super_block *s, struct reiserfs_journal *journal = SB_JOURNAL(s); chunk.nr = 0; - mutex_lock(&journal->j_flush_mutex); + reiserfs_mutex_lock_safe(&journal->j_flush_mutex, s); if (!journal_list_still_alive(s, orig_trans_id)) { goto done; }