diff options
author | Jens Axboe <axboe@fb.com> | 2016-07-27 12:52:21 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-08-04 14:19:16 -0600 |
commit | 1aee6b9a7d947d42ed84baa4cf461e9d943b80f0 (patch) | |
tree | 80ad047261bd0a09accbea5ccac3d6a2c73d9599 | |
parent | 20bd723ec6a3261df5e02250cd3a1fbb09a343f2 (diff) |
f2fs: drop bio->bi_rw manual assignment
Merge 4fc29c1aa375 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 <axboe@fb.com>
-rw-r--r-- | fs/f2fs/data.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index e2624275d828..d64d2a515cb2 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -245,7 +245,6 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio) bio_put(bio); return -EFAULT; } - bio->bi_rw = fio->op_flags; bio_set_op_attrs(bio, fio->op, fio->op_flags); __submit_bio(fio->sbi, bio, fio->type); |