mm/readahead.c, mm/vmscan.c: use lru_to_page instead of list_to_page
authorGeliang Tang <geliangtang@163.com>
Thu, 14 Jan 2016 23:20:51 +0000 (15:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commitc8ad6302c2b664e73f0abb3517c16531e294b9d7
tree9d77e818a551d37abf02de13eb14f2c1bb722dad
parent7546934570f48283b7fe64a56d1c984fcb1e341e
mm/readahead.c, mm/vmscan.c: use lru_to_page instead of list_to_page

list_to_page() in readahead.c is the same as lru_to_page() in vmscan.c.
So I move lru_to_page to internal.h and drop list_to_page().

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/internal.h
mm/readahead.c
mm/vmscan.c