rmap: simplify try_to_unmap_file()
authorHuang Shijie <shijie8@gmail.com>
Tue, 15 Dec 2009 01:58:51 +0000 (17:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:16 +0000 (08:53 -0800)
commit7b51159405272157123ea8e0ef9b63c731dbfb48
treeb483123483f3a3aba8b46db3150a76b5546f42c8
parent8051be5e614f3e3feccbe9e06b50e0b889740a93
rmap: simplify try_to_unmap_file()

Just simplify the code when `mlocked' is true.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c