Skip to content
Commit 83e32d90 authored by Wengang Wang's avatar Wengang Wang Committed by Joel Becker
Browse files

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: default avatarWengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
parent d92bc512
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment