ocfs2_dlm: Fixes race between migrate and dirty
authorKurt Hackel <kurt.hackel@oracle.com>
Fri, 5 Jan 2007 23:00:17 +0000 (15:00 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 7 Feb 2007 20:00:57 +0000 (12:00 -0800)
commitddc09c8ddac8d0f170ba8caa8128801f358dccff
treebba638e3017266b87e165eb0312d0671164f8917
parentfaf0ec9f13defb57f4269ecb22ed86f2874ee89a
ocfs2_dlm: Fixes race between migrate and dirty

dlmthread was removing lockres' from the dirty list
and resetting the dirty flag before shuffling the list.
This patch retains the dirty state flag until the lists
are shuffled.

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>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmmaster.c
fs/ocfs2/dlm/dlmthread.c