]> err.no Git - linux-2.6/commit
ocfs2_dlm: Check for migrateable lockres in dlm_empty_lockres()
authorSunil Mushran <sunil.mushran@oracle.com>
Fri, 23 Mar 2007 00:08:32 +0000 (17:08 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Mar 2007 23:51:15 +0000 (16:51 -0700)
commit2f5bf1f2d061dea5146aa283685ce2b00cea2f3d
treec957d5e3567146470e1b439dd56ca87b74624424
parent78062cb2e54ffe0df811dce5e68b54da9b8c9025
ocfs2_dlm: Check for migrateable lockres in dlm_empty_lockres()

In dlm_migrate_lockres(), we check upfront whether the lockres is a
candidate for migration. This patch encapsulates that code in a separate
function so that dlm_empty_lockres() can also use it during umount. This
patch addresses the umount process spinning problem.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlm/dlmmaster.c