readahead: move max_sane_readahead() calls into force_page_cache_readahead()
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 16 Jun 2009 22:31:20 +0000 (15:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:28 +0000 (19:47 -0700)
commitf7e839dd36fd940b0202cfb7d39b2a1b2dc59b1b
tree5c99332a62aa8135bd58485e7f3c22634ecdc90c
parent1ebf26a9b338534def47f307c6c8694b6dfc0a79
readahead: move max_sane_readahead() calls into force_page_cache_readahead()

Impact: code simplification.

Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Ying Han <yinghan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/fadvise.c
mm/filemap.c
mm/madvise.c
mm/readahead.c