kmemleak: Replace list_for_each_continue_rcu with new interface
authorMichael Wang <wangyun@linux.vnet.ibm.com>
Fri, 17 Aug 2012 04:33:34 +0000 (12:33 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Sep 2012 14:42:52 +0000 (07:42 -0700)
commit58fac09566bb48592a09ef0fe0c7dbefa0cd2109
tree986cb396a8ee562281ef4e6bbe268eb0bcaf27e0
parent803b0ebae921714d1c36f0996db8125eda5fae53
kmemleak: Replace list_for_each_continue_rcu with new interface

This patch replaces list_for_each_continue_rcu() with
list_for_each_entry_continue_rcu() to save a few lines
of code and allow removing list_for_each_continue_rcu().

Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
mm/kmemleak.c