aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/jbd2/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c
index 988b32ed4c87..6b7b73afef81 100644
--- a/fs/jbd2/checkpoint.c
+++ b/fs/jbd2/checkpoint.c
@@ -405,7 +405,7 @@ int jbd2_cleanup_journal_tail(journal_t *journal)
405 * jbd2_cleanup_journal_tail() doesn't get called all that often. 405 * jbd2_cleanup_journal_tail() doesn't get called all that often.
406 */ 406 */
407 if (journal->j_flags & JBD2_BARRIER) 407 if (journal->j_flags & JBD2_BARRIER)
408 blkdev_issue_flush(journal->j_fs_dev, GFP_KERNEL, NULL); 408 blkdev_issue_flush(journal->j_fs_dev, GFP_NOFS, NULL);
409 409
410 __jbd2_update_log_tail(journal, first_tid, blocknr); 410 __jbd2_update_log_tail(journal, first_tid, blocknr);
411 return 0; 411 return 0;