bio: first step in sanitizing the bio->bi_rw flag testing
authorJens Axboe <jens.axboe@oracle.com>
Fri, 11 Sep 2009 12:32:04 +0000 (14:32 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 11 Sep 2009 12:33:31 +0000 (14:33 +0200)
commit1f98a13f623e0ef666690a18c1250335fc6d7ef1
tree15ca2dddffaa18a0d1844957f4f8cc707cbb8117
parente7e503aedb1f4d165081cb8d47a58c38f80f0cb4
bio: first step in sanitizing the bio->bi_rw flag testing

Get rid of any functions that test for these bits and make callers
use bio_rw_flagged() directly. Then it is at least directly apparent
what variable and flag they check.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 files changed:
block/blk-core.c
block/cfq-iosched.c
block/elevator.c
drivers/block/loop.c
drivers/md/dm-raid1.c
drivers/md/dm-stripe.c
drivers/md/dm.c
drivers/md/linear.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
drivers/staging/dst/dcore.c
fs/btrfs/volumes.c
include/linux/bio.h
include/linux/blkdev.h