diff options
author | David Howells <dhowells@redhat.com> | 2024-03-27 08:51:38 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-05-01 18:08:18 +0100 |
commit | 0f7c0f3f51501a472a08d16315903d17012325ca (patch) | |
tree | a45e42d6153b37b0a0de251997915ea9840fb4a1 /fs/smb/client/cifsfs.h | |
parent | 1ecb146f7cd82e44277de448d4f736b98741f3cb (diff) |
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
Diffstat (limited to 'fs/smb/client/cifsfs.h')
-rw-r--r-- | fs/smb/client/cifsfs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/client/cifsfs.h b/fs/smb/client/cifsfs.h index ca55d01117c8..1ab7e5998c58 100644 --- a/fs/smb/client/cifsfs.h +++ b/fs/smb/client/cifsfs.h @@ -69,7 +69,6 @@ extern int cifs_revalidate_file_attr(struct file *filp); extern int cifs_revalidate_dentry_attr(struct dentry *); extern int cifs_revalidate_file(struct file *filp); extern int cifs_revalidate_dentry(struct dentry *); -extern int cifs_invalidate_mapping(struct inode *inode); extern int cifs_revalidate_mapping(struct inode *inode); extern int cifs_zap_mapping(struct inode *inode); extern int cifs_getattr(struct mnt_idmap *, const struct path *, |