mm: fix wrong comments about anon_vma lock
authorYuanhan Liu <[email protected]>
Mon, 4 Feb 2013 22:28:48 +0000 (14:28 -0800)
committerLinus Torvalds <[email protected]>
Tue, 5 Feb 2013 09:38:48 +0000 (20:38 +1100)
commit631b0cfdbd801ceae8762e8d287f15da26792ebe
treeb267575bb7eaf7b5ce21290cfc5e9a86ef7da952
parent249d9d9d6b7bfa3cf96c17d368eba2e32122aad1
mm: fix wrong comments about anon_vma lock

We use rwsem since commit 5a505085f043 ("mm/rmap: Convert the struct
anon_vma::mutex to an rwsem").  And most of comments are converted to
the new rwsem lock; while just 2 more missed from:

 $ git grep 'anon_vma->mutex'

Signed-off-by: Yuanhan Liu <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mmu_notifier.h
mm/mmap.c