From: Andrew Morton Date: Sat, 4 Jun 2022 18:45:10 +0000 (-0700) Subject: xfs-support-cow-in-fsdax-mode-fix X-Git-Tag: maple_v12_fixes~125 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=191da82487a33c78a9e233860238a9ae21280b00;p=users%2Fjedix%2Flinux-maple.git xfs-support-cow-in-fsdax-mode-fix make xfs_dax_fault() static Reported-by: kernel test robot Cc: Shiyang Ruan Signed-off-by: Andrew Morton --- diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 8bf1055d164ec..45d8e64188f36 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -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,