]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/jbd2/commit.c
Merge branches 'pm-cpuidle', 'pm-cpufreq' and 'pm-sleep'
[karo-tx-linux.git] / fs / jbd2 / commit.c
index 8c514367ba5acb460d293fd6007e6479b7ceae0f..b6b194ec1b4f9afbb4b9ced950d03ac0018aaa35 100644 (file)
@@ -393,7 +393,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
        /* Do we need to erase the effects of a prior jbd2_journal_flush? */
        if (journal->j_flags & JBD2_FLUSHED) {
                jbd_debug(3, "super block updated\n");
-               mutex_lock(&journal->j_checkpoint_mutex);
+               mutex_lock_io(&journal->j_checkpoint_mutex);
                /*
                 * We hold j_checkpoint_mutex so tail cannot change under us.
                 * We don't need any special data guarantees for writing sb