diff options
author | David Sterba <dsterba@suse.com> | 2018-06-29 10:56:53 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:44 +0200 |
commit | ebcc326316f3d798e9715e5ca1451c3e457b95dd (patch) | |
tree | f008663fb73aa369b9b1e79a45f09819bdf7b1a3 /fs/btrfs/extent_io.c | |
parent | cc5e31a4775d0d6b98139fdee51868a270bda42f (diff) | |
download | linux-ebcc326316f3d798e9715e5ca1451c3e457b95dd.tar.bz2 |
btrfs: open-code bio_set_op_attrs
The helper is trivial and marked as deprecated.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 4fc37e284a79..fea015be4ce1 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2398,7 +2398,7 @@ static int bio_readpage_error(struct bio *failed_bio, u64 phy_offset, start - page_offset(page), (int)phy_offset, failed_bio->bi_end_io, NULL); - bio_set_op_attrs(bio, REQ_OP_READ, read_mode); + bio->bi_opf = REQ_OP_READ | read_mode; btrfs_debug(btrfs_sb(inode->i_sb), "Repair Read Error: submitting new read[%#x] to this_mirror=%d, in_validation=%d", |