ocfs2/dlm: use list_for_each_entry instead of list_for_each
authorJoseph Qi <joseph.qi@huawei.com>
Fri, 4 Sep 2015 22:44:03 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commitf83c7b5e9fd633fe91128af116e6472a8c4d29a5
tree043ec9d60ca53cc2dd6135317bd0d92a2e78f64f
parent0e3d9eafb86183a33efc42f0beff5afceebbafba
ocfs2/dlm: use list_for_each_entry instead of list_for_each

Use list_for_each_entry instead of list_for_each to simplify code.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/dlm/dlmrecovery.c