VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Ming Lei <ming.lei@redhat.com> 2020-01-05 09:41:14 +0800 committer: Jens Axboe <axboe@kernel.dk> 2020-01-09 08:16:12 -0700 commit: 83c9c547168e8b914ea6398430473a4de68c52cc parent: 57415790f405534e5578d0106d806630c325dcb3
Commit Summary:
fs: move guard_bio_eod() after bio_set_op_attrs
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/mpage.c b/fs/mpage.c
index a63620cdb73a..ccba3c4c4479 100644
--- a/fs/mpage.c
+++ b/fs/mpage.c
@@ -62,7 +62,7 @@ static struct bio *mpage_bio_submit(int op, int op_flags, struct bio *bio)
 {
 	bio->bi_end_io = mpage_end_io;
 	bio_set_op_attrs(bio, op, op_flags);
-	guard_bio_eod(op, bio);
+	guard_bio_eod(bio);
 	submit_bio(bio);
 	return NULL;
 }