diff mbox series

mm: unexport vmf_insert_mixed_mkwrite

Message ID 20240702072327.1640911-1-hch@lst.de (mailing list archive)
State New
Headers show
Series mm: unexport vmf_insert_mixed_mkwrite | expand

Commit Message

Christoph Hellwig July 2, 2024, 7:23 a.m. UTC
vmf_insert_mixed_mkwrite is only used by the built-in DAX code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 mm/memory.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alistair Popple July 2, 2024, 10:13 a.m. UTC | #1
Seems that way to me too, so feel free to add:

Reviewed-by: Alistair Popple <apopple@nvidia.com>

Christoph Hellwig <hch@lst.de> writes:

> vmf_insert_mixed_mkwrite is only used by the built-in DAX code.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  mm/memory.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/mm/memory.c b/mm/memory.c
> index 0f47a533014e43..feb55b1d0cd6b2 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2487,7 +2487,6 @@ vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma,
>  {
>  	return __vm_insert_mixed(vma, addr, pfn, true);
>  }
> -EXPORT_SYMBOL(vmf_insert_mixed_mkwrite);
>  
>  /*
>   * maps a range of physical memory into the requested pages. the old
David Hildenbrand July 2, 2024, 1:10 p.m. UTC | #2
On 02.07.24 09:23, Christoph Hellwig wrote:
> vmf_insert_mixed_mkwrite is only used by the built-in DAX code.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   mm/memory.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/mm/memory.c b/mm/memory.c
> index 0f47a533014e43..feb55b1d0cd6b2 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2487,7 +2487,6 @@ vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma,
>   {
>   	return __vm_insert_mixed(vma, addr, pfn, true);
>   }
> -EXPORT_SYMBOL(vmf_insert_mixed_mkwrite);
>   
>   /*
>    * maps a range of physical memory into the requested pages. the old

Reviewed-by: David Hildenbrand <david@redhat.com>
diff mbox series

Patch

diff --git a/mm/memory.c b/mm/memory.c
index 0f47a533014e43..feb55b1d0cd6b2 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2487,7 +2487,6 @@  vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma,
 {
 	return __vm_insert_mixed(vma, addr, pfn, true);
 }
-EXPORT_SYMBOL(vmf_insert_mixed_mkwrite);
 
 /*
  * maps a range of physical memory into the requested pages. the old