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

Found by:	gallatin
This commit is contained in:
Jeff Roberson 2008-03-06 20:11:24 +00:00
parent 56abdd3350
commit c6440f72b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176880

View File

@ -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;