Skip to content

Commit 1aee6b9

Browse files
committed
f2fs: drop bio->bi_rw manual assignment
Merge 4fc29c1 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: Jens Axboe <[email protected]>
1 parent 20bd723 commit 1aee6b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/f2fs/data.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio)
245245
bio_put(bio);
246246
return -EFAULT;
247247
}
248-
bio->bi_rw = fio->op_flags;
249248
bio_set_op_attrs(bio, fio->op, fio->op_flags);
250249

251250
__submit_bio(fio->sbi, bio, fio->type);

0 commit comments

Comments
 (0)