Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377618
b: refs/heads/master
c: 0ef5418
h: refs/heads/master
v: v3
  • Loading branch information
Paul Gortmaker authored and Theodore Ts'o committed Jun 13, 2013
1 parent 05568c6 commit 52f0289
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ca841c106fd6cd2c942985977a5d126434a8dd6
refs/heads/master: 0ef54180e0187117062939202b96faf04c8673bc
8 changes: 8 additions & 0 deletions trunk/fs/jbd2/checkpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,15 @@ void __jbd2_log_wait_for_space(journal_t *journal)
/* We were able to recover space; yay! */
;
} else if (tid) {
/*
* jbd2_journal_commit_transaction() may want
* to take the checkpoint_mutex if JBD2_FLUSHED
* is set. So we need to temporarily drop it.
*/
mutex_unlock(&journal->j_checkpoint_mutex);
jbd2_log_wait_commit(journal, tid);
write_lock(&journal->j_state_lock);
continue;
} else {
printk(KERN_ERR "%s: needed %d blocks and "
"only had %d space available\n",
Expand Down

0 comments on commit 52f0289

Please sign in to comment.