]> git.baikalelectronics.ru Git - kernel.git/commit
block: move bio_associate_blkg_from_page to mm/page_io.c
authorChristoph Hellwig <hch@lst.de>
Sat, 27 Jun 2020 07:31:50 +0000 (09:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Jun 2020 15:09:08 +0000 (09:09 -0600)
commit653104352e9d320cb22c65192265a4f03ffffa83
treee984aa8eff7b32e7fde1412f638107413c722c71
parent1f457e685c14eb6a9fbfce11a5c326e9f61f9d51
block: move bio_associate_blkg_from_page to mm/page_io.c

bio_associate_blkg_from_page is a special purpose helper for swap bios
that doesn't need access to bio internals.  Move it to the swap code
instead of having it in bio.c.

Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h
mm/page_io.c