- Add a missing unlock to cpuset_setaffinity(CPU_LEVEL_CPUSET, CPU_WHICH_PID)

Found by:	gallatin
This commit is contained in:
jeff 2008-03-06 20:11:24 +00:00
parent 13c68a6bcd
commit 7b52c04658

@ -916,6 +916,7 @@ cpuset_setaffinity(struct thread *td, struct cpuset_setaffinity_args *uap)
thread_lock(ttd);
set = cpuset_ref(ttd->td_cpuset);
thread_unlock(ttd);
PROC_UNLOCK(p);
break;
case CPU_WHICH_CPUSET:
break;