Home
last modified time | relevance | path

Searched hist:e527b22c3f63c02832ac4cb8ed0ec3a9b638bbdf (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.cdiff e527b22c3f63c02832ac4cb8ed0ec3a9b638bbdf Fri Sep 11 15:07:53 CDT 2015 Andrew Morton <akpm@linux-foundation.org> 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 <julia.lawall@lip6.fr>
Reported-by: Fengguang Wu <fengguang.wu@gmail.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>