Skip to content

Commit 3cd6a80

Browse files
Christoph Hellwigcmaiolino
authored andcommitted
xfs: rename xfs_iomap_swapfile_activate to xfs_vm_swap_activate
Match the method name and the naming convention or address_space operations. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
1 parent 9f09020 commit 3cd6a80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/xfs/xfs_aops.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ xfs_vm_readahead(
528528
}
529529

530530
static int
531-
xfs_iomap_swapfile_activate(
531+
xfs_vm_swap_activate(
532532
struct swap_info_struct *sis,
533533
struct file *swap_file,
534534
sector_t *span)
@@ -549,11 +549,11 @@ const struct address_space_operations xfs_address_space_operations = {
549549
.migrate_folio = filemap_migrate_folio,
550550
.is_partially_uptodate = iomap_is_partially_uptodate,
551551
.error_remove_folio = generic_error_remove_folio,
552-
.swap_activate = xfs_iomap_swapfile_activate,
552+
.swap_activate = xfs_vm_swap_activate,
553553
};
554554

555555
const struct address_space_operations xfs_dax_aops = {
556556
.writepages = xfs_dax_writepages,
557557
.dirty_folio = noop_dirty_folio,
558-
.swap_activate = xfs_iomap_swapfile_activate,
558+
.swap_activate = xfs_vm_swap_activate,
559559
};

0 commit comments

Comments
 (0)