mm: remove test_set_page_writeback()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 8 Nov 2023 20:46:02 +0000 (20:46 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:36 +0000 (16:51 -0800)
commitc36f9d3d2c3e17f9eef1d2f47a63c91d51d55e87
tree57d6dfb92cc9593c00b32230b61e297f55e04ebf
parent78c3c11268c38c5fb5b58f6be1bb018f3f1c195e
mm: remove test_set_page_writeback()

Patch series "Make folio_start_writeback return void".

Most of the folio flag-setting functions return void.
folio_start_writeback is gratuitously different; the only two filesystems
that do anything with the return value emit debug messages if it's already
set, and we can (and should) do that internally without bothering the
filesystem to do it.

This patch (of 4):

There are no more callers of this wrapper.

Link: https://lkml.kernel.org/r/20231108204605.745109-1-willy@infradead.org
Link: https://lkml.kernel.org/r/20231108204605.745109-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
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