summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2007-01-17 14:57:50 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2007-02-07 12:04:27 -0800
commit28b72d9c92ed43e01e4094f57bcad1814b002779 (patch)
tree11439adde553b15fcdb9f927bc8f60d4d0fe281f /fs
parent50635f15b324cbf45a58f103e6b4c7e42502b683 (diff)
downloadop-kernel-dev-28b72d9c92ed43e01e4094f57bcad1814b002779.zip
op-kernel-dev-28b72d9c92ed43e01e4094f57bcad1814b002779.tar.gz
ocfs2_dlm: Dlm dispatch was stopping too early
dlm_dispatch_work was not processing the queued up tasks at the first sign of the node leaving the domain leading to not only incompleted tasks but also a mismatch in the dlm refcnt. Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/dlm/dlmrecovery.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index 2e32fe6..8c60ccc 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -163,9 +163,6 @@ void dlm_dispatch_work(struct work_struct *work)
dlm_workfunc_t *workfunc;
int tot=0;
- if (!dlm_joined(dlm))
- return;
-
spin_lock(&dlm->work_lock);
list_splice_init(&dlm->work_list, &tmp_list);
spin_unlock(&dlm->work_lock);
OpenPOWER on IntegriCloud