diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-06 10:20:31 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-08-02 12:34:03 -0400 |
commit | 67235182a41c1bd6b32806a1556a1d299b84212b (patch) | |
tree | b57dbdb55adf121d6d7450446b3762551c7548f4 /block | |
parent | 2be7fa10c028019f7b2fee11238987762567d41e (diff) | |
download | linux-67235182a41c1bd6b32806a1556a1d299b84212b.tar.gz linux-67235182a41c1bd6b32806a1556a1d299b84212b.tar.bz2 linux-67235182a41c1bd6b32806a1556a1d299b84212b.zip |
mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio()
Use a folio throughout __buffer_migrate_folio(), add kernel-doc for
buffer_migrate_folio() and buffer_migrate_folio_norefs(), move their
declarations to buffer.h and switch all filesystems that have wired
them up.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block')
-rw-r--r-- | block/fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/fops.c b/block/fops.c index d6b3276a6c68..743fc46d0aad 100644 --- a/block/fops.c +++ b/block/fops.c @@ -417,7 +417,7 @@ const struct address_space_operations def_blk_aops = { .write_end = blkdev_write_end, .writepages = blkdev_writepages, .direct_IO = blkdev_direct_IO, - .migratepage = buffer_migrate_page_norefs, + .migrate_folio = buffer_migrate_folio_norefs, .is_dirty_writeback = buffer_check_dirty_writeback, }; |