From: Wengang Wang Date: Thu, 3 Sep 2009 07:56:33 +0000 (+0800) Subject: ocfs2: add spinlock protection when dealing with lockres->purge. X-Git-Tag: v2.6.32-rc1~173^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e32d9044a4510fffdf65c2691a25c0ba84e259;p=pandora-kernel.git ocfs2: add spinlock protection when dealing with lockres->purge. when we check/modify lockres->purge, we should with the protection of lockres->spinlock. in dlm_purge_lockres(), the checking/modifying is not with the protectin. this patch fixes it. Signed-off-by: Wengang Wang Signed-off-by: Joel Becker --- Reading git-diff-tree failed