/* Returns: The wanted page on success, else a NULL pointer.  */
struct page* vxfs_get_page(struct address_space *mapping, u_long n)
/* Returns: The wanted page on success, else a NULL pointer.  */
struct page* vxfs_get_page(struct address_space *mapping, u_long n)
{
	struct page *			pp;
	pp = read_mapping_page(mapping, n, NULL);
	if (!IS_ERR(pp)) {
		kmap(pp);
		if (PageError(pp))
			goto fail;
	}
	return (pp);
fail:
	vxfs_put_page(pp);
	return ERR_PTR(-EIO);
}