From: Johannes Weiner Date: Tue, 22 Sep 2009 00:02:59 +0000 (-0700) Subject: mm: return boolean from page_is_file_cache() X-Git-Tag: v2.6.32-rc1~514 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0b13519d1c755d874e82c8fb8a6dcef0ee402c;p=pandora-kernel.git mm: return boolean from page_is_file_cache() page_is_file_cache() has been used for both boolean checks and LRU arithmetic, which was always a bit weird. Now that page_lru_base_type() exists for LRU arithmetic, make page_is_file_cache() a real predicate function and adjust the boolean-using callsites to drop those pesky double negations. Signed-off-by: Johannes Weiner Reviewed-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed