From: Srinivas Eeda Date: Tue, 17 Apr 2007 20:26:33 +0000 (-0700) Subject: ocfs2_dlm: fix race in dlm_remaster_locks X-Git-Tag: v2.6.22-rc1~1124^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=756a1501ddbbe73098aa031939460930f6edc9cd;p=pandora-kernel.git ocfs2_dlm: fix race in dlm_remaster_locks There is a possibility that dlm_remaster_locks could overwride node->state with DLM_RECO_NODE_DATA_REQUESTED after dlm_reco_data_done_handler sets the node->state to DLM_RECO_NODE_DATA_DONE. This could lead to recovery getting stuck and requires a cluster reboot. Synchronize with dlm_reco_state_lock spinlock. Signed-off-by: Srinivas Eeda Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed