Skip to contentSkip to conversation

mm: unexport vmf_insert_mixed_mkwrite

PATCH Applied Christoph Hellwig 3 participants 3 messages Jul 2, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: unexport vmf_insert_mixed_mkwrite

vmf_insert_mixed_mkwrite is only used by the built-in DAX code.

---
 mm/memory.c | 1 -
 1 file changed, 1 deletion(-)
mm/memory.c +0 -1
index 0f47a533014e43..feb55b1d0cd6b2 100644
@@ -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
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Seems that way to me too, so feel free to add:

Quoted 19 lines · Christoph Hellwig

vmf_insert_mixed_mkwrite is only used by the built-in DAX code.

---
 mm/memory.c | 1 -
 1 file changed, 1 deletion(-)
mm/memory.c +0 -1
index 0f47a533014e43..feb55b1d0cd6b2 100644
@@ -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 on v1 1/1
#2 lore raw
In reply to Christoph Hellwig
Quoted 12 lines · Christoph Hellwig

vmf_insert_mixed_mkwrite is only used by the built-in DAX code.

---
  mm/memory.c | 1 -
  1 file changed, 1 deletion(-)
mm/memory.c +0 -0
index 0f47a533014e43..feb55b1d0cd6b2 100644

mm/memory.c vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma, · line 2492

Quoted 7 lines
mm/memory.c +0 -1
@@ -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
Signature · 3 lines
Cheers,

David / dhildenb