forked from pool/ocfs2-tools
c9f09b5361
Upgrade ocfs2-tools to v1.8.5 OBS-URL: https://build.opensuse.org/request/show/478914 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=94
14 lines
481 B
Diff
14 lines
481 B
Diff
Index: ocfs2-tools/ocfs2_controld/main.c
|
|
===================================================================
|
|
--- ocfs2-tools.orig/ocfs2_controld/main.c
|
|
+++ ocfs2-tools/ocfs2_controld/main.c
|
|
@@ -1233,7 +1233,7 @@ static void set_scheduler(void)
|
|
struct sched_param sched_param;
|
|
int rv;
|
|
|
|
- rv = sched_get_priority_max(SCHED_RR);
|
|
+ rv = sched_get_priority_min(SCHED_RR);
|
|
if (rv != -1) {
|
|
sched_param.sched_priority = rv;
|
|
rv = sched_setscheduler(0, SCHED_RR, &sched_param);
|