diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2011-03-22 19:32:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 20:44:02 -0400 |
commit | e64a782fec684c29a8204c51b3cb554dce588592 (patch) | |
tree | 5ff0beb21b973f1ad0edc1e31b6a1c2ee4406bdc /mm/vmscan.c | |
parent | 702cfbf93aaf3a091b0c64c8766c1ade0a820c38 (diff) |
mm: change __remove_from_page_cache()
Now we renamed remove_from_page_cache with delete_from_page_cache. As
consistency of __remove_from_swap_cache and remove_from_swap_cache, we
change internal page cache handling function name, too.
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Johannes Weiner <hannes@cmpxchg.org>
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>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 3b4a41d72489..665b090b6c72 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -514,7 +514,7 @@ static int __remove_mapping(struct address_space *mapping, struct page *page) | |||
514 | 514 | ||
515 | freepage = mapping->a_ops->freepage; | 515 | freepage = mapping->a_ops->freepage; |
516 | 516 | ||
517 | __remove_from_page_cache(page); | 517 | __delete_from_page_cache(page); |
518 | spin_unlock_irq(&mapping->tree_lock); | 518 | spin_unlock_irq(&mapping->tree_lock); |
519 | mem_cgroup_uncharge_cache_page(page); | 519 | mem_cgroup_uncharge_cache_page(page); |
520 | 520 | ||