mm/memory-failure: stop setting the folio error flag
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 31 May 2024 03:29:25 +0000 (04:29 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:03 +0000 (19:30 -0700)
commit29e9412b250e51d0d11a57907c06b166a14e6676
tree80a51c977643ee0d3f55d830d11c6f9e737cc606
parentba518f4d4b84c2c99fd03e77479e5c7f6767faf6
mm/memory-failure: stop setting the folio error flag

Nobody checks the error flag any more, so setting it accomplishes nothing.
Remove the obsolete parts of this comment; it hasn't been true since
errseq_t was used to track writeback errors in 2017.

Link: https://lkml.kernel.org/r/20240531032938.2712870-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c