]> www.infradead.org Git - users/dwmw2/linux.git/commit
ecryptfs: Convert ecryptfs_writepage() to ecryptfs_writepages()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 25 Oct 2024 19:08:11 +0000 (20:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 5 Nov 2024 16:19:58 +0000 (17:19 +0100)
commit807a11dab9dc42dc999ece92d1277b3da37ecfab
tree3334abf8e5a1baaa0a0c9226fc7db67f22cb6e07
parent81983758430957d9a5cb3333fe324fd70cf63e7e
ecryptfs: Convert ecryptfs_writepage() to ecryptfs_writepages()

By adding a ->migrate_folio implementation, theree is no need to keep
the ->writepage implementation.  The new writepages removes the
unnecessary call to SetPageUptodate(); the folio should already be
uptodate at this point.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20241025190822.1319162-2-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ecryptfs/mmap.c