diff options
Diffstat (limited to 'fs/jbd2/commit.c')
| -rw-r--r-- | fs/jbd2/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 8c514367ba5a..b6b194ec1b4f 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
| @@ -393,7 +393,7 @@ void jbd2_journal_commit_transaction(journal_t *journal) | |||
| 393 | /* Do we need to erase the effects of a prior jbd2_journal_flush? */ | 393 | /* Do we need to erase the effects of a prior jbd2_journal_flush? */ |
| 394 | if (journal->j_flags & JBD2_FLUSHED) { | 394 | if (journal->j_flags & JBD2_FLUSHED) { |
| 395 | jbd_debug(3, "super block updated\n"); | 395 | jbd_debug(3, "super block updated\n"); |
| 396 | mutex_lock(&journal->j_checkpoint_mutex); | 396 | mutex_lock_io(&journal->j_checkpoint_mutex); |
| 397 | /* | 397 | /* |
| 398 | * We hold j_checkpoint_mutex so tail cannot change under us. | 398 | * We hold j_checkpoint_mutex so tail cannot change under us. |
| 399 | * We don't need any special data guarantees for writing sb | 399 | * We don't need any special data guarantees for writing sb |
