Commit e205eeaf authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Replace calls to slurm_conf_lock() with direct reference to slurmctld_conf in slurmctld.

slurm_conf_lock() returns &slurmctld_conf (with added locking).
Avoid the additional function call and refernce the variable directly.

Locking the conf is already handled within slurmctld by lock_slurmctld,
and locations within slurmcltd changing slurmctld_conf don't grab the separate
slurm_conf_lock() mutex anyways.
parent d90488c6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment