diff --git a/scst/src/scst_pres.c b/scst/src/scst_pres.c index 8ce467d6e..63e9b3f7a 100644 --- a/scst/src/scst_pres.c +++ b/scst/src/scst_pres.c @@ -1192,11 +1192,12 @@ int scst_pr_set_cluster_mode(struct scst_device *dev, bool cluster_mode, dev->virt_name, cluster_mode, res); dev->cl_ops = &scst_no_dlm_cl_ops; } + +out: #else res = cluster_mode ? -ENOTSUPP : 0; #endif -out: return res; } EXPORT_SYMBOL(scst_pr_set_cluster_mode);