list: change list_for_each_entry*() to use list_*_entry()
authorOleg Nesterov <[email protected]>
Tue, 12 Nov 2013 23:10:02 +0000 (15:10 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Eilon Greenstein <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/list.h