Commit 1aee6b9a authored by Jens Axboe's avatar Jens Axboe

f2fs: drop bio->bi_rw manual assignment

Merge 4fc29c1a included this extra line, but it's not needed (or
useful) since we'll bio_set_op_attrs() right after to properly set
the op and flags for the bio.
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 20bd723e
...@@ -245,7 +245,6 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio) ...@@ -245,7 +245,6 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio)
bio_put(bio); bio_put(bio);
return -EFAULT; return -EFAULT;
} }
bio->bi_rw = fio->op_flags;
bio_set_op_attrs(bio, fio->op, fio->op_flags); bio_set_op_attrs(bio, fio->op, fio->op_flags);
__submit_bio(fio->sbi, bio, fio->type); __submit_bio(fio->sbi, bio, fio->type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment