projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10be0b3
)
readahead: remove redundant test in shrink_readahead_size_eio()
author
Wu Fengguang
<fengguang.wu@intel.com>
Tue, 16 Jun 2009 22:31:36 +0000
(15:31 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:30 +0000
(19:47 -0700)
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>
mm/filemap.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/filemap.c
b/mm/filemap.c
index 734891d0663d7a64328ee2f81ae2dcd2e57f3dce..2e9bcc2e7977b6fa2975fe282bd1bab4208f1bf9 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;
}