Commit 54c6260f authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle)
Browse files

freevxfs: Remove check of PageError



If read_mapping_page() encounters an error, it returns an errno, not a
page with PageError set, so this is dead code.

Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
parent 59fc6474
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -51,15 +51,9 @@ vxfs_get_page(struct address_space *mapping, u_long n)
		kmap(pp);
		/** if (!PageChecked(pp)) **/
			/** vxfs_check_page(pp); **/
		if (PageError(pp))
			goto fail;
	}
	
	return (pp);
		 
fail:
	vxfs_put_page(pp);
	return ERR_PTR(-EIO);
}

/**