]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - fs/jffs2/fs.c
Merge Linux 2.6.23
[linux-2.6.git] / fs / jffs2 / fs.c
index dd64ddc11d43e2cb3944f4f1d1f7b78cfc71d48c..ed85f9afdbc8ae4dfb5c65541c89a526d9a6f400 100644 (file)
@@ -647,7 +647,7 @@ unsigned char *jffs2_gc_fetch_page(struct jffs2_sb_info *c,
        struct inode *inode = OFNI_EDONI_2SFFJ(f);
        struct page *pg;
 
-       pg = read_cache_page(inode->i_mapping, offset >> PAGE_CACHE_SHIFT,
+       pg = read_cache_page_async(inode->i_mapping, offset >> PAGE_CACHE_SHIFT,
                             (void *)jffs2_do_readpage_unlock, inode);
        if (IS_ERR(pg))
                return (void *)pg;