Skip to contentSkip to conversation

mm-make-finish_mkwrite_fault-static.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 25, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: make finish_mkwrite_fault() static
has been removed from the -mm tree. Its filename was
mm-make-finish_mkwrite_fault-static.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: make finish_mkwrite_fault() static
Date: Wed, 18 Oct 2023 22:08:03 +0800

Make finish_mkwrite_fault static since it is not used outside of memory.c.

Cc David Hildenbrand <[email protected]>
Cc Huang Ying <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Juri Lelli <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Vincent Guittot <[email protected]>
Cc Zi Yan <[email protected]>

---

 include/linux/mm.h |    1 -
 mm/memory.c        |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-make-finish_mkwrite_fault-static +0 -1
@@ -1348,7 +1348,6 @@ void set_pte_range(struct vm_fault *vmf,
 		struct page *page, unsigned int nr, unsigned long addr);
 
 vm_fault_t finish_fault(struct vm_fault *vmf);
-vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf);
 #endif
 
 /*
mm/memory.c renamed from mm/memory.c~mm-make-finish_mkwrite_fault-static +1 -1
@@ -3269,7 +3269,7 @@ out:
  * Return: %0 on success, %VM_FAULT_NOPAGE when PTE got changed before
  * we acquired PTE lock.
  */
-vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf)
+static vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf)
 {
 	WARN_ON_ONCE(!(vmf->vma->vm_flags & VM_SHARED));
 	vmf->pte = pte_offset_map_lock(vmf->vma->vm_mm, vmf->pmd, vmf->address,

_

Patches currently in -mm which might be from [email protected] are