]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
xfs-support-cow-in-fsdax-mode-fix
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 4 Jun 2022 18:45:10 +0000 (11:45 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:05 +0000 (20:15 -0400)
make xfs_dax_fault() static

Reported-by: kernel test robot <lkp@intel.com>
Cc: Shiyang Ruan <ruansy.fnst@fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/xfs/xfs_file.c

index 8bf1055d164ecbc7518261d642a62977fc3150cf..45d8e64188f368b02afd61757e33384658904bb3 100644 (file)
@@ -1256,7 +1256,7 @@ xfs_file_llseek(
 }
 
 #ifdef CONFIG_FS_DAX
-int
+static int
 xfs_dax_fault(
        struct vm_fault         *vmf,
        enum page_entry_size    pe_size,
@@ -1269,7 +1269,7 @@ xfs_dax_fault(
                                &xfs_read_iomap_ops);
 }
 #else
-int
+static int
 xfs_dax_fault(
        struct vm_fault         *vmf,
        enum page_entry_size    pe_size,