cifs: wire up >migrate_folio
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 13:18:33 +0000 (14:18 +0100)
committerSteve French <stfrench@microsoft.com>
Thu, 8 Dec 2022 15:51:53 +0000 (09:51 -0600)
commit9381666e289852f93be9d7f4f7844017e04f6315
tree2a6e7e4cbead912e68feca27abbe1503d1320954
parent64ce47cb1b29d7d6aab6dcc287ae1fddb4876bd5
cifs: wire up >migrate_folio

CIFS does not use page private data that needs migration, so it can just
wire up filemap_migrate_folio.  This prepares for removing ->writepage,
which is used as a fallback if no migrate_folio method is set.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/file.c