diff options
| author | Linus Torvalds <[email protected]> | 2025-05-26 15:23:09 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-05-26 15:23:09 +0000 |
| commit | dc762851444b32057709cb40e7cdb3054e60b646 (patch) | |
| tree | af0205d6bf92d93370d5c6ed63886123bc544f2e /drivers/gpu/drm/ttm/ttm_backup.c | |
| parent | Merge tag 'vfs-6.16-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
| parent | Merge patch series "Remove aops->writepage" (diff) | |
| download | kernel-dc762851444b32057709cb40e7cdb3054e60b646.tar.gz kernel-dc762851444b32057709cb40e7cdb3054e60b646.zip | |
Merge tag 'vfs-6.16-rc1.writepage' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull final writepage conversion from Christian Brauner:
"This converts vboxfs from ->writepage() to ->writepages().
This was the last user of the ->writepage() method. So remove
->writepage() completely and all references to it"
* tag 'vfs-6.16-rc1.writepage' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
fs: Remove aops->writepage
mm: Remove swap_writepage() and shmem_writepage()
ttm: Call shmem_writeout() from ttm_backup_backup_page()
i915: Use writeback_iter()
shmem: Add shmem_writeout()
writeback: Remove writeback_use_writepage()
migrate: Remove call to ->writepage
vboxsf: Convert to writepages
9p: Add a migrate_folio method
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_backup.c')
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_backup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_backup.c b/drivers/gpu/drm/ttm/ttm_backup.c index 9e2d72c447ee..ffaab68bd5dd 100644 --- a/drivers/gpu/drm/ttm/ttm_backup.c +++ b/drivers/gpu/drm/ttm/ttm_backup.c @@ -120,13 +120,13 @@ ttm_backup_backup_page(struct file *backup, struct page *page, .for_reclaim = 1, }; folio_set_reclaim(to_folio); - ret = mapping->a_ops->writepage(folio_file_page(to_folio, idx), &wbc); + ret = shmem_writeout(to_folio, &wbc); if (!folio_test_writeback(to_folio)) folio_clear_reclaim(to_folio); /* - * If writepage succeeds, it unlocks the folio. - * writepage() errors are otherwise dropped, since writepage() - * is only best effort here. + * If writeout succeeds, it unlocks the folio. errors + * are otherwise dropped, since writeout is only best + * effort here. */ if (ret) folio_unlock(to_folio); |
