diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2007-01-06 00:02:30 +0100 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-02-07 21:01:49 +0100 |
commit | 71ac1062435ba2d58bf64817b47a6e44f316752e (patch) | |
tree | d28d47f38aafebe54d926d13c20588d92e1ef466 /fs/ocfs2/dlm/dlmrecovery.c | |
parent | ocfs2_dlm: Fixes race between migrate and dirty (diff) | |
download | linux-71ac1062435ba2d58bf64817b47a6e44f316752e.tar.xz linux-71ac1062435ba2d58bf64817b47a6e44f316752e.zip |
ocfs2_dlm: Make dlmunlock() wait for migration to complete
dlmunlock() was not waiting for migration to complete before releasing locks
on locally mastered locks.
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/ocfs2/dlm/dlmrecovery.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmrecovery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index d011a2a22742..3057b65a4b8b 100644 --- a/fs/ocfs2/dlm/dlmrecovery.c +++ b/fs/ocfs2/dlm/dlmrecovery.c @@ -1763,6 +1763,7 @@ static int dlm_process_recovery_data(struct dlm_ctxt *dlm, "with cookie %u:%llu!\n", dlm_get_lock_cookie_node(c), dlm_get_lock_cookie_seq(c)); + __dlm_print_one_lock_resource(res); BUG(); } BUG_ON(lock->ml.node != ml->node); |