dlm: Make dismatch error message more clear
authorGang He <ghe@suse.com>
Thu, 18 May 2017 02:42:12 +0000 (10:42 +0800)
committerDavid Teigland <teigland@redhat.com>
Mon, 7 Aug 2017 16:23:09 +0000 (11:23 -0500)
commit8e1743748b7e967f4dc532e3969963e5175e6f30
treee1a18bee00fdda5c1b70cf9d76b5a441e376d9c0
parent8286d6b14c7c0e2c52d565a8727f6028a487fcf0
dlm: Make dismatch error message more clear

This change will try to make this error message more clear,
since the upper applications (e.g. ocfs2) invoke dlm_new_lockspace
to create a new lockspace with passing a cluster name. Sometimes,
dlm_new_lockspace return failure while two cluster names dismatch,
the user is a little confused since this line error message is not
enough obvious.

Signed-off-by: Gang He <ghe@suse.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c