mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
2d1a868c56
commit
dc2ed195dd
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue