mm: make __swap_writepage() use bio_set_op_attrs()
authorJens Axboe <axboe@fb.com>
Mon, 1 Aug 2016 15:38:44 +0000 (09:38 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 7 Aug 2016 20:41:02 +0000 (14:41 -0600)
commitba13e83ec334ca8a1c6bec882a6efc98d8bf355d
tree85d06e869f009db6df96bba076f8be02dd6a34a6
parentc11f0c0b5bb949673e4fc16c742f0316ae4ced20
mm: make __swap_writepage() use bio_set_op_attrs()

Cleaner than manipulating bio->bi_rw flags directly.

Signed-off-by: Jens Axboe <axboe@fb.com>
mm/page_io.c