From: Kurt Hackel Date: Wed, 17 Jan 2007 22:57:50 +0000 (-0800) Subject: ocfs2_dlm: Dlm dispatch was stopping too early X-Git-Tag: v2.6.21-rc1~92^2~21^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=28b72d9c92ed43e01e4094f57bcad1814b002779;p=karo-tx-linux.git 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 Signed-off-by: Sunil Mushran Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index 2e32fe65c6c2..8c60ccc7460c 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);