VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christoph Hellwig <hch@lst.de> 2021-01-26 15:52:35 +0100 committer: Jens Axboe <axboe@kernel.dk> 2021-01-27 09:51:48 -0700 commit: c6bf3f0e25f4c0f0ecce6cf8d1c589bd9d74d3cf parent: 3175199ab0ac8c874ec25c6bf169f74888917435
Commit Summary:
block: use an on-stack bio in blkdev_issue_flush
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c
index 472932b9e6bc..63b526d44886 100644
--- a/fs/jbd2/checkpoint.c
+++ b/fs/jbd2/checkpoint.c
@@ -416,7 +416,7 @@ int jbd2_cleanup_journal_tail(journal_t *journal)
 	 * jbd2_cleanup_journal_tail() doesn't get called all that often.
 	 */
 	if (journal->j_flags & JBD2_BARRIER)
-		blkdev_issue_flush(journal->j_fs_dev, GFP_NOFS);
+		blkdev_issue_flush(journal->j_fs_dev);
 
 	return __jbd2_update_log_tail(journal, first_tid, blocknr);
 }