summaryrefslogtreecommitdiffstats
path: root/ctdb/common/ctdb_util.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-06-10 16:44:59 +1000
committerMartin Schwenke <martins@samba.org>2014-06-12 05:40:10 +0200
commit5b580e5d65ac5dce9dc07aba4fe1f31226a66ed8 (patch)
treee7ea6f99139d2810dce8bac6d892abc9308e7153 /ctdb/common/ctdb_util.c
parentfb0b389dc17ee4626f07f2056edecddc51286281 (diff)
downloadsamba-5b580e5d65ac5dce9dc07aba4fe1f31226a66ed8.tar.gz
samba-5b580e5d65ac5dce9dc07aba4fe1f31226a66ed8.tar.xz
samba-5b580e5d65ac5dce9dc07aba4fe1f31226a66ed8.zip
ctdb-common: Changing scheduler policy does not require ctdb context
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/common/ctdb_util.c')
-rw-r--r--ctdb/common/ctdb_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/common/ctdb_util.c b/ctdb/common/ctdb_util.c
index 4fe411fa39..b2f0ee72af 100644
--- a/ctdb/common/ctdb_util.c
+++ b/ctdb/common/ctdb_util.c
@@ -329,7 +329,7 @@ struct ctdb_rec_data *ctdb_marshall_loop_next(struct ctdb_marshall_buffer *m, st
/*
if possible, make this task real time
*/
-void ctdb_set_scheduler(struct ctdb_context *ctdb)
+void ctdb_set_scheduler(void)
{
#ifdef _AIX_
#if HAVE_THREAD_SETSCHED
@@ -368,7 +368,7 @@ void ctdb_set_scheduler(struct ctdb_context *ctdb)
/*
restore previous scheduler parameters
*/
-void ctdb_restore_scheduler(struct ctdb_context *ctdb)
+void ctdb_restore_scheduler(void)
{
#ifdef _AIX_
#if HAVE_THREAD_SETSCHED