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/check-integrity.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/check-integrity.c')
-rw-r--r-- | fs/btrfs/check-integrity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index daf45472bef9..833cf3c35b4d 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -1629,7 +1629,7 @@ static int btrfsic_read_block(struct btrfsic_state *state, bio = btrfs_io_bio_alloc(num_pages - i); bio_set_dev(bio, block_ctx->dev->bdev); bio->bi_iter.bi_sector = dev_bytenr >> 9; - bio_set_op_attrs(bio, REQ_OP_READ, 0); + bio->bi_opf = REQ_OP_READ; for (j = i; j < num_pages; j++) { ret = bio_add_page(bio, block_ctx->pagev[j], |