Patch 2.6.32.32 to 2.6.32.33
/mm/mremap.c
blob:845190898d59f206201b4b5d60f1d4534a755913 -> blob:166b824c20667e743c7b7b2e6474cb6fb7642eca
--- mm/mremap.c
+++ mm/mremap.c
@@ -92,9 +92,7 @@ static void move_ptes(struct vm_area_str
*/
mapping = vma->vm_file->f_mapping;
spin_lock(&mapping->i_mmap_lock);
- if (new_vma->vm_truncate_count &&
- new_vma->vm_truncate_count != vma->vm_truncate_count)
- new_vma->vm_truncate_count = 0;
+ new_vma->vm_truncate_count = 0;
}
/*