diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-06 12:24:49 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-07-21 12:37:07 +0200 |
| commit | 49341691bdb1a2becac4a1634b0097a65b5a774c (patch) | |
| tree | d8e78afc27e1a6dc6c17da5eb68459fcf0f3c194 /fs/f2fs/data.c | |
| parent | eb3c282843084c21ed12a694338f7a5bbc5fa4f6 (diff) | |
f2fs, block_dump: give WRITE direction to submit_bio
The block_dump in submit_bio uses rw, instead of bio->bi_rw.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
| -rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 182a329e0..bd44b88ac 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -225,7 +225,7 @@ submit_io: trace_f2fs_submit_read_bio(sbi->sb, type, bio); else trace_f2fs_submit_write_bio(sbi->sb, type, bio); - submit_bio(0, bio); + submit_bio(bio_op(bio), bio); } static void __submit_merged_bio(struct f2fs_bio_info *io) |
