From: Kurt Hackel Date: Fri, 28 Apr 2006 02:03:18 +0000 (-0700) Subject: ocfs2: allow for an assert message during lock mastery X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc2ed195dda848c8e4b24f3f0e1952fa74f74f6b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ocfs2: allow for an assert message during lock mastery Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 0b7e29e916e..1b28d3eedac 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",