list: change list_for_each_entry*() to use list_*_entry()
authorOleg Nesterov <oleg@redhat.com>
Tue, 12 Nov 2013 23:10:02 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:23 +0000 (12:09 +0900)
commit8120e2e5141a420edee725ff28f18aa264795f7a
treea78ce230e01bcea6895eca8492d79fce8eb3c1a3
parent008208c6b26f21c2648c250a09c55e737c02c5f8
list: change list_for_each_entry*() to use list_*_entry()

Now that we have list_{next,prev}_entry() we can change
list_for_each_entry*() and list_safe_reset_next() to use the new helpers
to improve the readability.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/list.h