]> Git Repo - linux.git/commit
mm: truncate: change remove_from_page_cache
authorMinchan Kim <[email protected]>
Tue, 22 Mar 2011 23:32:41 +0000 (16:32 -0700)
committerLinus Torvalds <[email protected]>
Wed, 23 Mar 2011 00:44:02 +0000 (17:44 -0700)
commit5adc7b518b54f7af2b8395d2035898340d96b1d5
treea1ef2db7e2a41333861ca067bb1c6f16589044eb
parent4c73b1bc6bb14aab7888ebe6bffe957cf7c07fa0
mm: truncate: 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 <[email protected]>
Cc: Dan Magenheimer <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Al Viro <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Johannes Weiner <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/truncate.c
This page took 0.052866 seconds and 4 git commands to generate.