]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/readahead.c: remove unused file_ra_state from count_history_pages
authorFabian Frederick <fabf@skynet.be>
Thu, 26 Jun 2014 00:42:27 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:27 +0000 (10:42 +1000)
commit76be3241fc280f0d18c17543ccf159096cdf6ef0
treeb1e01dd446d6d2c042da0f2975eef7447604bd98
parent270421694785de41da726dce576f9f65c8bdaba1
mm/readahead.c: remove unused file_ra_state from count_history_pages

count_history_pages does only call page_cache_prev_hole in rcu_lock
context using address_space mapping.  There's no need to have
file_ra_state here.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/readahead.c