ocfs2_dlm: Fix migrate lockres handler queue scanning
authorKurt Hackel <kurt.hackel@oracle.com>
Fri, 5 Jan 2007 23:04:49 +0000 (15:04 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 7 Feb 2007 20:02:40 +0000 (12:02 -0800)
commite17e75ecb86b8ce9b51b219b5348517561031f80
tree358001a91077fc9e62bd8def833f622d93c365cf
parent71ac1062435ba2d58bf64817b47a6e44f316752e
ocfs2_dlm: Fix migrate lockres handler queue scanning

The migrate lockres handler was only searching for its lock on
migrated lockres on the expected queue. This could be problematic
as the new master could have also issued a convert request
during the migration and thus moved the lock to the convert queue.
We now search for the lock on all three queues.

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/dlmrecovery.c