Commit 8c30a22c authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Change job_signal() to job_signal_id() and _job_signal() to job_signal().

Most calling paths to job_signal() were sending in job_ptr->job_id alongside
uid 0. This bypasses the unneeded uid validation, and forces another lookup
through find_job_record() for a job_ptr we just dereferenced.

So - change the less-used job_signal() to job_signal_id(), promote
_job_signal to an extern taking that name over, and stop this whole
unnecessary extra set of lookup calls.
parent 5df6e867
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