On Thu, Aug 01, 2019 at 11:42:39AM -0700, Song Liu wrote:
> Similar to previous patch, pagecache_get_page() avoids race condition
> with truncate by checking page->mapping == mapping. This does not work
> for compound pages. This patch let it check compound_head(page)->mapping
> instead.
> 
> Suggested-by: Johannes Weiner <han...@cmpxchg.org>
> Signed-off-by: Song Liu <songliubrav...@fb.com>

Acked-by: Johannes Weiner <han...@cmpxchg.org>

Reply via email to