summaryrefslogtreecommitdiffstats
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorJens Axboe2016-08-05 16:11:04 +0200
committerJens Axboe2016-08-07 22:41:02 +0200
commitc11f0c0b5bb949673e4fc16c742f0316ae4ced20 (patch)
tree86b0c6102a4b01c4609a199b783f990e78959b72 /mm/page_io.c
parentMerge tag 'doc-4.8-fixes' of git://git.lwn.net/linux (diff)
downloadkernel-qcow2-linux-c11f0c0b5bb949673e4fc16c742f0316ae4ced20.tar.gz
kernel-qcow2-linux-c11f0c0b5bb949673e4fc16c742f0316ae4ced20.tar.xz
kernel-qcow2-linux-c11f0c0b5bb949673e4fc16c742f0316ae4ced20.zip
block/mm: make bdev_ops->rw_page() take a bool for read/write
Commit abf545484d31 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>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions