Commit 3b60d53d authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle)
Browse files

jfs: Remove check for PageUptodate



Pages returned from read_mapping_page() are always uptodate, so
this check is unnecessary.

Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
parent da028b6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -618,7 +618,7 @@ struct metapage *__get_metapage(struct inode *inode, unsigned long lblock,
		SetPageUptodate(page);
	} else {
		page = read_mapping_page(mapping, page_index, NULL);
		if (IS_ERR(page) || !PageUptodate(page)) {
		if (IS_ERR(page)) {
			jfs_err("read_mapping_page failed!");
			return NULL;
		}