]> www.infradead.org Git - users/hch/block.git/commit
block: move bio_associate_blkg_from_page to mm/page_io.c
authorChristoph Hellwig <hch@lst.de>
Sat, 30 May 2020 13:20:23 +0000 (15:20 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 26 Jun 2020 13:27:33 +0000 (15:27 +0200)
commit796714a97897f49d9bc9510b7088a94578b17e98
tree024d29f62fa7ae01a051a9b7b4a0c65dd69f196c
parentabca51382128bca1fdbecdb3eaf3e69282b67883
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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/bio.c
include/linux/bio.h
mm/page_io.c