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/inode.c | |
parent | cc5e31a4775d0d6b98139fdee51868a270bda42f (diff) | |
download | linux-stable-ebcc326316f3d798e9715e5ca1451c3e457b95dd.tar.gz linux-stable-ebcc326316f3d798e9715e5ca1451c3e457b95dd.tar.bz2 linux-stable-ebcc326316f3d798e9715e5ca1451c3e457b95dd.zip |
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/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ada8a698af10..564ec00c765b 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -7861,7 +7861,7 @@ static blk_status_t dio_read_error(struct inode *inode, struct bio *failed_bio, isector >>= inode->i_sb->s_blocksize_bits; bio = btrfs_create_repair_bio(inode, failed_bio, failrec, page, pgoff, isector, repair_endio, repair_arg); - bio_set_op_attrs(bio, REQ_OP_READ, read_mode); + bio->bi_opf = REQ_OP_READ | read_mode; btrfs_debug(BTRFS_I(inode)->root->fs_info, "repair DIO read error: submitting new dio read[%#x] to this_mirror=%d, in_validation=%d", |