linux/drivers/block/zram
Mike Christie abf545484d mm/block: convert rw_page users to bio op use
The rw_page users were not converted to use bio/req ops. As a result
bdev_write_page is not passing down REQ_OP_WRITE and the IOs will
be sent down as reads.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Fixes: 4e1b2d52a8 ("block, fs, drivers: remove REQ_OP compat defs and related code")

Modified by me to:

1) Drop op_flags passing into ->rw_page(), as we don't use it.
2) Make op_is_write() and friends safe to use for !CONFIG_BLOCK

Signed-off-by: Jens Axboe <axboe@fb.com>
2016-08-04 14:25:33 -06:00
..
Kconfig zram: delete custom lzo/lz4 2016-07-26 16:19:19 -07:00
Makefile zram: delete custom lzo/lz4 2016-07-26 16:19:19 -07:00
zcomp.c zram: drop gfp_t from zcomp_strm_alloc() 2016-07-26 16:19:19 -07:00
zcomp.h zram: delete custom lzo/lz4 2016-07-26 16:19:19 -07:00
zram_drv.c mm/block: convert rw_page users to bio op use 2016-08-04 14:25:33 -06:00
zram_drv.h zram: use crypto api to check alg availability 2016-07-26 16:19:19 -07:00