afs: Use alternative invalidation to using launder_folio
authorDavid Howells <dhowells@redhat.com>
Wed, 27 Mar 2024 21:19:17 +0000 (21:19 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:07:34 +0000 (18:07 +0100)
commitd73065e60dcc89c5cae9346ce651d83ac333898f
treea906d81d73c07d54c0864c670e0ae3a1c0431928
parent40fb4828d5f6fc9dfe549e4fd8c9d705dea1315a
afs: Use alternative invalidation to using launder_folio

Use writepages-based flushing invalidation instead of
invalidate_inode_pages2() and ->launder_folio().  This will allow
->launder_folio() to be removed eventually.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-afs@lists.infradead.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
fs/afs/file.c
fs/afs/internal.h
fs/afs/validation.c
fs/afs/write.c