]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51a51a0a4cc199aee43f7c196e5b3e7d79d452f6
treeba1af1115941d1cfea1e45e2dc5c06e953775cba
parent8f0f03a63d54aae99c951c14eb492f869f61d55a
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