summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-04-03 10:02:39 +0200
committerChristian Brauner <brauner@kernel.org>2025-04-07 09:36:50 +0200
commitfb5a381d624bf6ad3dc2541387feb5d835e1f377 (patch)
tree932c12b1ff9e84d9f8cf68bb602a9190e7128c28 /fs/buffer.c
parent0af2f6be1b4281385b618cb86ad946eded089ac8 (diff)
parent6b0dfabb35550cb7b0808585dea6c24971d685d3 (diff)
Merge patch series "Remove aops->writepage"
Matthew Wilcox (Oracle) <willy@infradead.org> says: We have just one filesystm (vboxsf) left which implements ->writepage. This patchset converts it to writepages then removes all the callers of ->writepage. * patches from https://lore.kernel.org/r/20250402150005.2309458-1-willy@infradead.org: 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 Link: https://lore.kernel.org/r/20250402150005.2309458-1-willy@infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index c7abb4a029dc..b99dc69dba37 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2695,7 +2695,7 @@ unlock:
EXPORT_SYMBOL(block_truncate_page);
/*
- * The generic ->writepage function for buffer-backed address_spaces
+ * The generic write folio function for buffer-backed address_spaces
*/
int block_write_full_folio(struct folio *folio, struct writeback_control *wbc,
void *get_block)
@@ -2715,7 +2715,7 @@ int block_write_full_folio(struct folio *folio, struct writeback_control *wbc,
/*
* The folio straddles i_size. It must be zeroed out on each and every
- * writepage invocation because it may be mmapped. "A file is mapped
+ * writeback invocation because it may be mmapped. "A file is mapped
* in multiples of the page size. For a file that is not a multiple of
* the page size, the remaining memory is zeroed when mapped, and
* writes to that region are not written out to the file."