cifs: Use alternative invalidation to using launder_folio
authorDavid Howells <dhowells@redhat.com>
Wed, 27 Mar 2024 08:51:38 +0000 (08:51 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:08:18 +0000 (18:08 +0100)
commit0f7c0f3f51501a472a08d16315903d17012325ca
treea45e42d6153b37b0a0de251997915ea9840fb4a1
parent1ecb146f7cd82e44277de448d4f736b98741f3cb
cifs: 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: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
fs/smb/client/cifsfs.h
fs/smb/client/file.c
fs/smb/client/inode.c