#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"
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);
cur = cur + iosize;
page_offset += iosize;
}
-out:
if (!nr) {
if (!PageError(page))
SetPageUptodate(page);