Skip to content
Commit c8ad6302 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds
Browse files

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: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 75469345
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment