xfs-support-cow-in-fsdax-mode-fix

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>
This commit is contained in:
Andrew Morton 2022-06-04 11:45:10 -07:00 committed by akpm
parent 5b750ab859
commit bf255bd938

View 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,