mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
scst_pres: Suppress a compiler warning when building against a kernel with no DLM support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user