mm: fix wrong comments about anon_vma lock
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 4 Feb 2013 22:28:48 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <yuanhan.liu@linux.intel.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmu_notifier.h
mm/mmap.c