filemap: Handle AOP_TRUNCATED_PAGE in do_read_cache_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 12 May 2022 21:47:06 +0000 (17:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:06 +0000 (08:51 -0400)
commit1dfa24a4bf3b00325d3957019e3ada2ec21d82cf
treeec8781971c4de203d0d0050d92c8775da4d991bf
parent9bc3e869386bdf5a00ecf71d6592050997e69d53
filemap: Handle AOP_TRUNCATED_PAGE in do_read_cache_folio()

If the call to filler() returns AOP_TRUNCATED_PAGE, we need to
retry the page cache lookup.

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