drbd: The kernel code is now equivalent to out of tree release 8.3.7
[safe/jmp/linux-2.6] / include / linux / mm_inline.h
index 99977ff..8835b87 100644 (file)
@@ -5,7 +5,7 @@
  * page_is_file_cache - should the page be on a file LRU or anon LRU?
  * @page: the page to test
  *
- * Returns LRU_FILE if @page is page cache page backed by a regular filesystem,
+ * Returns 1 if @page is page cache page backed by a regular filesystem,
  * or 0 if @page is anonymous, tmpfs or otherwise ram or swap backed.
  * Used by functions that manipulate the LRU lists, to sort a page
  * onto the right LRU list.
  */
 static inline int page_is_file_cache(struct page *page)
 {
-       if (PageSwapBacked(page))
-               return 0;
-
-       /* The page is page cache backed by a normal filesystem. */
-       return LRU_FILE;
+       return !PageSwapBacked(page);
 }
 
 static inline void