aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_metapage.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/jfs_metapage.c')
-rw-r--r--fs/jfs/jfs_metapage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c
index 8cb803b54bc1..02add5d8ff89 100644
--- a/fs/jfs/jfs_metapage.c
+++ b/fs/jfs/jfs_metapage.c
@@ -640,7 +640,7 @@ struct metapage *__get_metapage(struct inode *inode, unsigned long lblock,
640 } else { 640 } else {
641 page = read_cache_page(mapping, page_index, 641 page = read_cache_page(mapping, page_index,
642 (filler_t *)mapping->a_ops->readpage, NULL); 642 (filler_t *)mapping->a_ops->readpage, NULL);
643 if (IS_ERR(page)) { 643 if (IS_ERR(page) || !PageUptodate(mp->page)) {
644 jfs_err("read_cache_page failed!"); 644 jfs_err("read_cache_page failed!");
645 return NULL; 645 return NULL;
646 } 646 }