[PATCH 28/32] block/fs/drivers: use bio/rq_data_dir helpers

2015-11-04 Thread mchristi
From: Mike Christie This has the the block layer, drivers and fs code use the bio and rq data_dir helpers instead of accessing the bi_rw/cmd_flags and checking for REQ_WRITE. Signed-off-by: Mike Christie --- block/blk-merge.c| 2 +- drivers/ata/libata-scsi.c| 2 +-

[PATCH 28/32] block/fs/drivers: use bio/rq_data_dir helpers

2015-11-04 Thread mchristi
From: Mike Christie This has the the block layer, drivers and fs code use the bio and rq data_dir helpers instead of accessing the bi_rw/cmd_flags and checking for REQ_WRITE. Signed-off-by: Mike Christie --- block/blk-merge.c| 2 +-