diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-06-06 12:21:25 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-06-12 05:40:10 +0200 |
commit | 19fcf6ff5206b14c481f078371f5b407d43900b7 (patch) | |
tree | eaaa6a5ae9a96025d0d6f0632124e3bf6a8ff134 /ctdb/include/ctdb_private.h | |
parent | 1dda098401a208d792bccc4a3f9e1b56571e6309 (diff) | |
download | samba-19fcf6ff5206b14c481f078371f5b407d43900b7.tar.gz samba-19fcf6ff5206b14c481f078371f5b407d43900b7.tar.xz samba-19fcf6ff5206b14c481f078371f5b407d43900b7.zip |
ctdb-common: No need to save previous scheduler priority
When calling sched_setscheduler() with SCHED_OTHER, the only valid
priority is 0. Nice value is "restored" anyway.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r-- | ctdb/include/ctdb_private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 81759786dd..8ebd1c55d9 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -512,7 +512,6 @@ struct ctdb_context { bool do_checkpublicip; struct trbt_tree *server_ids; bool do_setsched; - void *saved_scheduler_param; const char *event_script_dir; const char *notification_script; const char *default_public_interface; |