memory-failure: use a folio in me_pagecache_dirty()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Nov 2023 16:14:43 +0000 (16:14 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:41 +0000 (16:51 -0800)
commit6304b531cd8f568ed2b8d680837b8ceebe175b89
tree11d160383ab36b6de9855b686bfcea66ebdc6b4f
parent3d47e31790b784ec9a6f052fda683c536e272e4f
memory-failure: use a folio in me_pagecache_dirty()

Replaces three hidden calls to compound_head() with one visible one.

Link: https://lkml.kernel.org/r/20231117161447.2461643-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c