From: Sunil Mushran Date: Tue, 2 Feb 2010 01:34:58 +0000 (-0800) Subject: ocfs2/dlm: Remove BUG_ON in dlm recovery when freeing locks of a dead node X-Git-Tag: v2.6.33-rc8~38^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda70ba8c05a8661f882862c4699a31d215ab151;p=pandora-kernel.git 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 Acked-by: Mark Fasheh Signed-off-by: Joel Becker --- Reading git-diff-tree failed