Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233636
b: refs/heads/master
c: a3e8cc6
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Feb 24, 2011
1 parent 0aef3c8 commit eeca020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2aa15890f3c191326678f1bd68af61ec6b8753ec
refs/heads/master: a3e8cc643d22d2c8ed36b9be7d9c9ca21efcf7f7
4 changes: 1 addition & 3 deletions trunk/mm/mremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd,
*/
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;
}

/*
Expand Down

0 comments on commit eeca020

Please sign in to comment.