btrfs: use bio fields for op and flags
The bio REQ_OP and bi_rw rq_flag_bits are now always setup, so there is no need to pass around the rq_flag_bits bits too. btrfs users should should access the bio insead. Signed-off-by:Mike Christie <mchristi@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Hannes Reinecke <hare@suse.com> Signed-off-by:
Jens Axboe <axboe@fb.com>
Showing
- fs/btrfs/compression.c 6 additions, 7 deletionsfs/btrfs/compression.c
- fs/btrfs/ctree.h 1 addition, 1 deletionfs/btrfs/ctree.h
- fs/btrfs/disk-io.c 12 additions, 18 deletionsfs/btrfs/disk-io.c
- fs/btrfs/disk-io.h 1 addition, 1 deletionfs/btrfs/disk-io.h
- fs/btrfs/extent_io.c 5 additions, 7 deletionsfs/btrfs/extent_io.c
- fs/btrfs/extent_io.h 4 additions, 4 deletionsfs/btrfs/extent_io.h
- fs/btrfs/inode.c 19 additions, 22 deletionsfs/btrfs/inode.c
- fs/btrfs/volumes.c 5 additions, 6 deletionsfs/btrfs/volumes.c
- fs/btrfs/volumes.h 1 addition, 1 deletionfs/btrfs/volumes.h
Please register or sign in to comment