commit | fc31d16add13773265cc53d59f2e7594cb3c0a14 | [log] [tgz] |
---|---|---|
author | Wu Fengguang <fengguang.wu@intel.com> | Tue Jun 16 15:31:21 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jun 16 19:47:28 2009 -0700 |
tree | fe67988da0a8b7bd08cdf3da95c852373638e06b | |
parent | f7e839dd36fd940b0202cfb7d39b2a1b2dc59b1b [diff] |
readahead: apply max_sane_readahead() limit in ondemand_readahead() Just in case someone aggressively sets a huge readahead size. 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>