Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 357657 | Differences between
and this patch

Collapse All | Expand All

(-)a/mm/mremap.c (-4 / +1 lines)
Lines 94-102 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, Link Here
94
		 */
94
		 */
95
		mapping = vma->vm_file->f_mapping;
95
		mapping = vma->vm_file->f_mapping;
96
		spin_lock(&mapping->i_mmap_lock);
96
		spin_lock(&mapping->i_mmap_lock);
97
		if (new_vma->vm_truncate_count &&
97
		new_vma->vm_truncate_count = 0;
98
		    new_vma->vm_truncate_count != vma->vm_truncate_count)
99
			new_vma->vm_truncate_count = 0;
100
	}
98
	}
101
99
102
	/*
100
	/*
103
- 

Return to bug 357657