aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/jffs2/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index 1d3b7a9fc828..8bc727b71696 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -627,7 +627,7 @@ unsigned char *jffs2_gc_fetch_page(struct jffs2_sb_info *c,
627 struct inode *inode = OFNI_EDONI_2SFFJ(f); 627 struct inode *inode = OFNI_EDONI_2SFFJ(f);
628 struct page *pg; 628 struct page *pg;
629 629
630 pg = read_cache_page(inode->i_mapping, offset >> PAGE_CACHE_SHIFT, 630 pg = read_cache_page_async(inode->i_mapping, offset >> PAGE_CACHE_SHIFT,
631 (void *)jffs2_do_readpage_unlock, inode); 631 (void *)jffs2_do_readpage_unlock, inode);
632 if (IS_ERR(pg)) 632 if (IS_ERR(pg))
633 return (void *)pg; 633 return (void *)pg;