linux-stable/drivers/block/zram
Jens Axboe c11f0c0b5b block/mm: make bdev_ops->rw_page() take a bool for read/write
Commit abf545484d changed it from an 'rw' flags type to the
newer ops based interface, but now we're effectively leaking
some bdev internals to the rest of the kernel. Since we only
care about whether it's a read or a write at that level, just
pass in a bool 'is_write' parameter instead.

Then we can also move op_is_write() and friends back under
CONFIG_BLOCK protection.

Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-08-07 14:41:02 -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 block/mm: make bdev_ops->rw_page() take a bool for read/write 2016-08-07 14:41:02 -06:00
zram_drv.h zram: use crypto api to check alg availability 2016-07-26 16:19:19 -07:00