scst_dlm: Instantiate lockspace as soon as cluster mode is enabled

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-08-02 16:31:00 +00:00
parent d41a3a3cc9
commit a5f67cd1f2

View File

@@ -1427,6 +1427,13 @@ static int scst_pr_dlm_init(struct scst_device *dev, const char *cl_dev_id)
goto err_free;
}
/*
* Instantiate the lockspace such that APTPL registration information
* is also made persistent on this node even if this node does not
* receive any medium or PR SCSI commands.
*/
get_lockspace(dev);
res = 0;
out: