cifs: remove ->writepage
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 13:18:35 +0000 (14:18 +0100)
committerSteve French <stfrench@microsoft.com>
Thu, 8 Dec 2022 15:51:53 +0000 (09:51 -0600)
commitebaad77c89921c8237ca17791d5462bd289052d0
tree7b717fb47b0e2a1659747732c340c09f4604b344
parentbff9018d3a52c45711bd63c446a2c80c0275e935
cifs: remove ->writepage

->writepage is a very inefficient method to write back data, and only
used through write_cache_pages or a a fallback when no ->migrate_folio
method is present.  Now that cifs implements ->migrate_folio and
doesn't call generic_writepages, the writepage method can be removed.

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