Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66aa71cc authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: fs: mpage: use bio op/op_flags instead of bio->bi_rw



Since commit eed25cd5 ("mpage: use bio op accessors"),
bio->rw argument is obsolete. Use bio op/op_flags instead.

Fixes: Change-Id: I26bd36f933108927d6903da04d8cb42fd9c3ef3d
       "ANDROID: fs: FS tracepoints to track IO."
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 6fd0b495
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static void mpage_end_io(struct bio *bio)

static struct bio *mpage_bio_submit(int op, int op_flags, struct bio *bio)
{
	if (trace_android_fs_dataread_start_enabled() && (rw == READ)) {
	if (trace_android_fs_dataread_start_enabled() && (op == REQ_OP_READ)) {
		struct page *first_page = bio->bi_io_vec[0].bv_page;

		if (first_page != NULL) {