cifs: Use a folio in cifs_page_mkwrite()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 8 Feb 2023 14:56:10 +0000 (14:56 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Feb 2023 17:48:48 +0000 (11:48 -0600)
commitc191bc070eba9cbbd166322cad293dd09c48c78e
treefc2920c5228e5dc38186f010d6e94816e58bcc3e
parentd447e794a37288ec7a080aa1b044a8d9deebbab7
cifs: Use a folio in cifs_page_mkwrite()

Avoids many calls to compound_head() and removes calls to various
compat functions.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/file.c