git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readahead: remove redundant test in shrink_readahead_size_eio()
[safe/jmp/linux-2.6]
/
mm
/
filemap.c
diff --git
a/mm/filemap.c
b/mm/filemap.c
index
734891d
..
2e9bcc2
100644
(file)
--- a/
mm/filemap.c
+++ b/
mm/filemap.c
@@
-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;
}