summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2006-04-28 04:03:18 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 23:42:54 +0200
commitdc2ed195dda848c8e4b24f3f0e1952fa74f74f6b (patch)
tree708a2ed9f07ab36658735943890ce38f0fa51ebd /fs/ocfs2
parentocfs2: take mle reference during migration (diff)
downloadlinux-dc2ed195dda848c8e4b24f3f0e1952fa74f74f6b.tar.xz
linux-dc2ed195dda848c8e4b24f3f0e1952fa74f74f6b.zip
ocfs2: allow for an assert message during lock mastery
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index 0b7e29e916ed..1b28d3eedac7 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -1741,7 +1741,8 @@ int dlm_assert_master_handler(struct o2net_msg *msg, u32 len, void *data)
goto kill;
}
if (!mle) {
- if (res->owner != assert->node_idx) {
+ if (res->owner != DLM_LOCK_RES_OWNER_UNKNOWN &&
+ res->owner != assert->node_idx) {
mlog(ML_ERROR, "assert_master from "
"%u, but current owner is "
"%u! (%.*s)\n",