readahead: remove redundant test in shrink_readahead_size_eio()
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
10be0b372c
commit
61b7cbdba2
|
@ -1004,9 +1004,6 @@ EXPORT_SYMBOL(grab_cache_page_nowait);
|
|||
static void shrink_readahead_size_eio(struct file *filp,
|
||||
struct file_ra_state *ra)
|
||||
{
|
||||
if (!ra->ra_pages)
|
||||
return;
|
||||
|
||||
ra->ra_pages /= 4;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue