mm-use-helper-function-put_write_access.patch removed from -mm tree
The patch titled
Subject: mm: use helper function put_write_access()
has been removed from the -mm tree. Its filename was
mm-use-helper-function-put_write_access.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm: use helper function put_write_access()
In commit 1da177e4c3f4 ("Linux-2.6.12-rc2"), the helper put_write_access() came with the atomic_dec operation of the i_writecount field. But it forgot to use this helper in __vma_link_file() and dup_mmap().
---
kernel/fork.c | 2 +- mm/mmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
kernel/fork.c renamed from kernel/fork.c~mm-use-helper-function-put_write_access +1 -1
@@ -556,7 +556,7 @@ static __latent_entropy int dup_mmap(strget_file (file);if (tmp->vm_flags &VM_DENYWRITE ) -atomic_dec (&inode->i_writecount); +put_write_access (inode);i_mmap_lock_write (mapping);if (tmp->vm_flags &VM_SHARED )mapping_allow_writable (mapping);
mm/mmap.c renamed from mm/mmap.c~mm-use-helper-function-put_write_access +1 -1
@@ -619,7 +619,7 @@ static void __vma_link_file(struct vm_arstruct address_space *mapping = file->f_mapping;if (vma->vm_flags &VM_DENYWRITE ) -atomic_dec (&file_inode (file)->i_writecount); +put_write_access (file_inode (file));if (vma->vm_flags &VM_SHARED )mapping_allow_writable (mapping);
_
Patches currently in -mm which might be from [email protected] are
mm-migrate-avoid-possible-unnecessary-process-right-check-in-kernel_move_pages.patch