From: Andrew Morton Date: Fri, 11 Sep 2015 20:07:53 +0000 (-0700) Subject: revert "ocfs2/dlm: use list_for_each_entry instead of list_for_each" X-Git-Tag: omap-for-v4.3/fixes-rc1~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e527b22c3f63c02832ac4cb8ed0ec3a9b638bbdf;p=pandora-kernel.git revert "ocfs2/dlm: use list_for_each_entry instead of list_for_each" Revert commit f83c7b5e9fd6 ("ocfs2/dlm: use list_for_each_entry instead of list_for_each"). list_for_each_entry() will dereference its `pos' argument, which can be NULL in dlm_process_recovery_data(). Reported-by: Julia Lawall Reported-by: Fengguang Wu Cc: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed