OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
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;
}