diff options
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index dd64ddc11d43..ed85f9afdbc8 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.c | |||
@@ -647,7 +647,7 @@ unsigned char *jffs2_gc_fetch_page(struct jffs2_sb_info *c, | |||
647 | struct inode *inode = OFNI_EDONI_2SFFJ(f); | 647 | struct inode *inode = OFNI_EDONI_2SFFJ(f); |
648 | struct page *pg; | 648 | struct page *pg; |
649 | 649 | ||
650 | pg = read_cache_page(inode->i_mapping, offset >> PAGE_CACHE_SHIFT, | 650 | pg = read_cache_page_async(inode->i_mapping, offset >> PAGE_CACHE_SHIFT, |
651 | (void *)jffs2_do_readpage_unlock, inode); | 651 | (void *)jffs2_do_readpage_unlock, inode); |
652 | if (IS_ERR(pg)) | 652 | if (IS_ERR(pg)) |
653 | return (void *)pg; | 653 | return (void *)pg; |