]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ttm: Call shmem_writeout() from ttm_backup_backup_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Apr 2025 15:00:01 +0000 (16:00 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 07:36:49 +0000 (09:36 +0200)
commitfe75adffac33eeb167b378861d80c805b234495c
treedf6c47c09f3fa7e7851287ebb397bfa10749d794
parent776a853a43c99c1f4b201d2cd6be3e1666517b91
ttm: Call shmem_writeout() from ttm_backup_backup_page()

The ->writepage operation is being removed.  Since this function
exclusively deals with shmem folios, we can call shmem_writeout()
to write it.

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250402150005.2309458-8-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
drivers/gpu/drm/ttm/ttm_backup.c