All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] ocfs2: bug in dlm_process_recovery_data()
@ 2010-02-09  8:09 Dan Carpenter
  2010-02-09 17:53 ` Sunil Mushran
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2010-02-09  8:09 UTC (permalink / raw)
  To: ocfs2-devel

I noticed a change was merged to dlm_process_recovery_data() so I 
thought you might want to fix this as well.

fs/ocfs2/dlm/dlmrecovery.c
  1788                                  list_for_each_entry(lock, tmpq, list) {
  1789                                          if (lock->ml.cookie != ml->cookie)
  1790                                                  lock = NULL;

	We dereference lock in list_for_each_entry().  Maybe you want 
	list_for_each_entry_safe() or something?

  1791                                          else
  1792                                                  break;
  1793                                  }
  1794                                  if (lock)
  1795                                          break;

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-10 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09  8:09 [Ocfs2-devel] ocfs2: bug in dlm_process_recovery_data() Dan Carpenter
2010-02-09 17:53 ` Sunil Mushran
2010-02-10 10:01   ` Dan Carpenter
2010-02-10 18:37     ` Sunil Mushran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.