commit | 2f5bf1f2d061dea5146aa283685ce2b00cea2f3d | [log] [tgz] |
---|---|---|
author | Sunil Mushran <sunil.mushran@oracle.com> | Thu Mar 22 17:08:32 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Mon Mar 26 16:51:15 2007 -0700 |
tree | c957d5e3567146470e1b439dd56ca87b74624424 | |
parent | 78062cb2e54ffe0df811dce5e68b54da9b8c9025 [diff] |
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>