mm: return void from folio_start_writeback() and related functions
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 8 Nov 2023 20:46:05 +0000 (20:46 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:37 +0000 (16:51 -0800)
commitb5612c368648a7be52411b288d09593e5945d1aa
tree3efbdb5d169e402367fb753b6f20eec1a9fafcce
parenta9540e35624d1475f47dbf6353eed8b99936d36e
mm: return void from folio_start_writeback() and related functions

Nobody now checks the return value from any of these functions, so
add an assertion at the beginning of the function and return void.

Link: https://lkml.kernel.org/r/20231108204605.745109-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Steve French <sfrench@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-flags.h
mm/folio-compat.c
mm/page-writeback.c