Searched hist:cda70ba8c05a8661f882862c4699a31d215ab151 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ocfs2/dlm/ |
H A D | dlmrecovery.c | diff cda70ba8c05a8661f882862c4699a31d215ab151 Mon Feb 01 19:34:58 CST 2010 Sunil Mushran <sunil.mushran@oracle.com> ocfs2/dlm: Remove BUG_ON in dlm recovery when freeing locks of a dead node
During recovery, the dlm frees the locks for the dead node. If it finds a lock in a resource for the dead node, it expects that node to also have a ref in that lock resource. If not, it BUGs.
ossbz#1175 was filed with the above BUG. Now, while it is correct that we should be expecting the ref, I see no reason why we have to BUG. After all, we are freeing up the lock and clearing the ref.
This patch replaces the BUG_ON with a printk(). Hopefully, that will give us more clues next time this happens.
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1175
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Acked-by: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
|