-
- Downloads
mm/migrate: Add filemap_migrate_folio()
There is nothing iomap-specific about iomap_migratepage(), and it fits a pattern used by several other filesystems, so move it to mm/migrate.c, convert it to be filemap_migrate_folio() and convert the iomap filesystems to use it. Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Darrick J. Wong <djwong@kernel.org>
Showing
- fs/gfs2/aops.c 1 addition, 1 deletionfs/gfs2/aops.c
- fs/iomap/buffered-io.c 0 additions, 25 deletionsfs/iomap/buffered-io.c
- fs/xfs/xfs_aops.c 1 addition, 1 deletionfs/xfs/xfs_aops.c
- fs/zonefs/super.c 1 addition, 1 deletionfs/zonefs/super.c
- include/linux/iomap.h 0 additions, 6 deletionsinclude/linux/iomap.h
- include/linux/pagemap.h 6 additions, 0 deletionsinclude/linux/pagemap.h
- mm/migrate.c 20 additions, 0 deletionsmm/migrate.c
Loading
Please register or sign in to comment