]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm/readahead.c: remove unused file_ra_state from count_history_pages
authorFabian Frederick <fabf@skynet.be>
Wed, 6 Aug 2014 23:04:55 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:15 +0000 (18:01 -0700)
commit3e2faa085448d5c478ebc9d5f6cb4d822467f4d7
tree1c189513f09b2ea545aee48e5b772bc4ca2d7247
parentc42e5715617232563f0cf9f231d86b5133c4487e
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/readahead.c