ocfs2: add spinlock protection when dealing with lockres->purge.
authorWengang Wang <wen.gang.wang@oracle.com>
Thu, 3 Sep 2009 07:56:33 +0000 (15:56 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 08:54:48 +0000 (01:54 -0700)
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 <wen.gang.wang@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>

No differences found