From: Minchan Kim Date: Tue, 22 Mar 2011 23:32:40 +0000 (-0700) Subject: mm: shmem: change remove_from_page_cache X-Git-Tag: v2.6.39-rc1~342 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c73b1bc6bb14aab7888ebe6bffe957cf7c07fa0;p=pandora-kernel.git mm: shmem: change remove_from_page_cache This patch series changes remove_from_page_cache()'s page ref counting rule. Page cache ref count is decreased in delete_from_page_cache(). So we don't need to decrease the page reference in callers. Signed-off-by: Minchan Kim Acked-by: Hugh Dickins Acked-by: Mel Gorman Reviewed-by: KAMEZAWA Hiroyuki Reviewed-by: Johannes Weiner Reviewed-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed