mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
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: Matthew Wilcox (Oracle) <willy@infradead.org>
This commit is contained in:
parent
59fc647405
commit
54c6260fa8
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user