The tracing ring-buffer used this function briefly, but not anymore.
commit26fdb1fba764a6068a0bd98db38c8a0b629f331f
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 24 Aug 2011 23:46:49 +0000 (25 09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Aug 2011 04:27:28 +0000 (31 14:27 +1000)
tree0fae52dae034a8377abb15d9a45bf0f7807c5389
parent1a74ee4410734602a87a7fcbb5e4e0769ab08c24
The tracing ring-buffer used this function briefly, but not anymore.
Make it local to the writeback code again.

Also, move the function so that no forward declaration needs to be
reintroduced.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/writeback.h
mm/page-writeback.c