VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 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/zonefs/super.c b/fs/zonefs/super.c
index faea2ed34b4a..ab68e27bb322 100644
--- a/fs/zonefs/super.c
+++ b/fs/zonefs/super.c
@@ -541,7 +541,7 @@ static int zonefs_file_fsync(struct file *file, loff_t start, loff_t end,
 	if (ZONEFS_I(inode)->i_ztype == ZONEFS_ZTYPE_CNV)
 		ret = file_write_and_wait_range(file, start, end);
 	if (!ret)
-		ret = blkdev_issue_flush(inode->i_sb->s_bdev, GFP_KERNEL);
+		ret = blkdev_issue_flush(inode->i_sb->s_bdev);
 
 	if (ret)
 		zonefs_io_error(inode, true);