mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
+4
-1
@@ -640,7 +640,10 @@ static int scst_dlm_update_nodeids(struct scst_pr_dlm_data *pr_dlm)
|
||||
pr_dlm->local_nodeid = nodeid;
|
||||
pr_dlm->nodeid[i] = nodeid;
|
||||
}
|
||||
ret = 0;
|
||||
if (WARN_ON_ONCE(pr_dlm->local_nodeid == 0))
|
||||
ret = -EINVAL;
|
||||
else
|
||||
ret = 0;
|
||||
|
||||
out:
|
||||
kfree(entries);
|
||||
|
||||
Reference in New Issue
Block a user