|
@@ -569,7 +569,7 @@ static ssize_t
|
|
|
do_readahead(struct address_space *mapping, struct file *filp,
|
|
|
pgoff_t index, unsigned long nr)
|
|
|
{
|
|
|
- if (!mapping || !mapping->a_ops || !mapping->a_ops->readpage)
|
|
|
+ if (!mapping || !mapping->a_ops)
|
|
|
return -EINVAL;
|
|
|
|
|
|
force_page_cache_readahead(mapping, filp, index, nr);
|