- patches.suse/slab-handle-memoryless-nodes-v2a.patch: Refresh.
[linux-flexiantxendom0-3.2.10.git] / fs / btrfs / extent_io.c
index 2e8dbd8..96577e8 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/swap.h>
 #include <linux/writeback.h>
 #include <linux/pagevec.h>
-#include <linux/precache.h>
 #include "extent_io.h"
 #include "extent_map.h"
 #include "compat.h"
@@ -2016,13 +2015,6 @@ static int __extent_read_full_page(struct extent_io_tree *tree,
 
        set_page_extent_mapped(page);
 
-       if (!PageUptodate(page)) {
-               if (precache_get(page->mapping, page->index, page) == 1) {
-                       BUG_ON(blocksize != PAGE_SIZE);
-                       goto out;
-               }
-       }
-
        end = page_end;
        lock_extent(tree, start, end, GFP_NOFS);
 
@@ -2139,7 +2131,6 @@ static int __extent_read_full_page(struct extent_io_tree *tree,
                cur = cur + iosize;
                page_offset += iosize;
        }
-out:
        if (!nr) {
                if (!PageError(page))
                        SetPageUptodate(page);