Btrfs: use btrfs_op instead of bio_op in __btrfs_map_block
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 19 Sep 2017 23:50:09 +0000 (17:50 -0600)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Sep 2017 12:53:17 +0000 (14:53 +0200)
commitbd7d63c2ceaf737eeb21630a2b62fc5fe34dba29
tree9ef31b60ecb77c28e9bbc2dab9af30ce590bf263
parentfed3b381145e2e7c66b0b3f640851e1633ebd07f
Btrfs: use btrfs_op instead of bio_op in __btrfs_map_block

This seems to be a leftover of commit cf8cddd38bab ("btrfs: don't
abuse REQ_OP_* flags for btrfs_map_block").

It should use btrfs_op() helper to provide one of 'enum btrfs_map_op'
types.

Fixes: cf8cddd38bab ("btrfs: don't abuse REQ_OP_* flags for btrfs_map_block")
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c