Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert "ocfs2/dlm: use list_for_each_entry instead of list_for_each"
Revert commit f83c7b5 ("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 <[email protected]> Reported-by: Fengguang Wu <[email protected]> Cc: Joseph Qi <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information