]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15384aa6d7e85e8d217bff8d5a8423a722b8e63f
tree043ec9d60ca53cc2dd6135317bd0d92a2e78f64f
parente8eb8e7e7f5beafe45cedbcc0604cb65b548912e
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