]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/filemap.c
mm/filemap: Hoist filler_t decision to the top of do_read_cache_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 19:07:11 +0000 (15:07 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 9 May 2022 20:36:52 +0000 (16:36 -0400)
commit07950008692bf22074020e927e95655cd48fdcda
treeba1af1115941d1cfea1e45e2dc5c06e953775cba
parente9b5b23e957ef9260fec811d8d8081125889308a
mm/filemap: Hoist filler_t decision to the top of do_read_cache_folio()

Now that filler_t and aops->read_folio() have the same type, we can decide
which one to use at the top of the function, and cache ->read_folio in
the filler parameter.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/filemap.c