]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: rename xfs_iomap_swapfile_activate to xfs_vm_swap_activate
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Feb 2025 06:15:01 +0000 (07:15 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 10 Feb 2025 09:29:06 +0000 (10:29 +0100)
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>
fs/xfs/xfs_aops.c

index 67877c36ed11ae31282d69490b226fe4b6cc91c5..a80608e82c9b909b954b257a6c218fd32e4f3f52 100644 (file)
@@ -528,7 +528,7 @@ xfs_vm_readahead(
 }
 
 static int
-xfs_iomap_swapfile_activate(
+xfs_vm_swap_activate(
        struct swap_info_struct         *sis,
        struct file                     *swap_file,
        sector_t                        *span)
@@ -549,11 +549,11 @@ const struct address_space_operations xfs_address_space_operations = {
        .migrate_folio          = filemap_migrate_folio,
        .is_partially_uptodate  = iomap_is_partially_uptodate,
        .error_remove_folio     = generic_error_remove_folio,
-       .swap_activate          = xfs_iomap_swapfile_activate,
+       .swap_activate          = xfs_vm_swap_activate,
 };
 
 const struct address_space_operations xfs_dax_aops = {
        .writepages             = xfs_dax_writepages,
        .dirty_folio            = noop_dirty_folio,
-       .swap_activate          = xfs_iomap_swapfile_activate,
+       .swap_activate          = xfs_vm_swap_activate,
 };