mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mm: cleancache: s/flush/invalidate/
Per akpm suggestions alter the use of the term flush to be invalidate. The next patch will do this across all MM. This change is completely cosmetic. [v9: [email protected]: change "flush" to "invalidate", part 3] Signed-off-by: Dan Magenheimer <[email protected]> Cc: Kamezawa Hiroyuki <[email protected]> Cc: Jan Beulich <[email protected]> Reviewed-by: Seth Jennings <[email protected]> Cc: Jeremy Fitzhardinge <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Chris Mason <[email protected]> Cc: Rik Riel <[email protected]> Cc: Andrew Morton <[email protected]> [v10: Fixed fs: move code out of buffer.c conflict change] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
This commit is contained in:
parent
972b2c7199
commit
3167760f83
7 changed files with 51 additions and 44 deletions
|
|
@ -123,7 +123,7 @@ void __delete_from_page_cache(struct page *page)
|
|||
if (PageUptodate(page) && PageMappedToDisk(page))
|
||||
cleancache_put_page(page);
|
||||
else
|
||||
cleancache_flush_page(mapping, page);
|
||||
cleancache_invalidate_page(mapping, page);
|
||||
|
||||
radix_tree_delete(&mapping->page_tree, page->index);
|
||||
page->mapping = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue