block, dm-crypt, btrfs: Introduce bio_flags()
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 14 Sep 2016 08:45:36 +0000 (10:45 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 14 Sep 2016 14:48:27 +0000 (08:48 -0600)
commit4382e33ad374862eacf62003bb02c750391ada05
tree883dd31b0dbe171ff1d389c07d4527d2ce4c90c4
parent637ca77bd1f7950538956c61dcd0c2e559905dbf
block, dm-crypt, btrfs: Introduce bio_flags()

Introduce the bio_flags() macro. Ensure that the second argument of
bio_set_op_attrs() only contains flags and no operation. This patch
does not change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Chris Mason <clm@fb.com> (maintainer:BTRFS FILE SYSTEM)
Cc: Josef Bacik <jbacik@fb.com> (maintainer:BTRFS FILE SYSTEM)
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Damien Le Moal <damien.lemoal@hgst.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/dm-crypt.c
fs/btrfs/inode.c
include/linux/blk_types.h