diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2019-12-15 21:11:15 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2019-12-15 21:11:15 +0000 |
commit | 61a74c5ccd65d1a00a96779f16eda8c41ff3a426 (patch) | |
tree | 0325e01f4affe5d9ef25e68fae1a7cbd5d2ebde9 /sys/compat/linux/linux_fork.c | |
parent | 054802650063bea1cb817ef22a887c3116813ba9 (diff) |
Notes
Diffstat (limited to 'sys/compat/linux/linux_fork.c')
-rw-r--r-- | sys/compat/linux/linux_fork.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c index 066640e2fc9c5..0c772ea5cb4a1 100644 --- a/sys/compat/linux/linux_fork.c +++ b/sys/compat/linux/linux_fork.c @@ -92,7 +92,6 @@ linux_fork(struct thread *td, struct linux_fork_args *args) thread_lock(td2); TD_SET_CAN_RUN(td2); sched_add(td2, SRQ_BORING); - thread_unlock(td2); return (0); } @@ -123,7 +122,6 @@ linux_vfork(struct thread *td, struct linux_vfork_args *args) thread_lock(td2); TD_SET_CAN_RUN(td2); sched_add(td2, SRQ_BORING); - thread_unlock(td2); return (0); } @@ -228,7 +226,6 @@ linux_clone_proc(struct thread *td, struct linux_clone_args *args) thread_lock(td2); TD_SET_CAN_RUN(td2); sched_add(td2, SRQ_BORING); - thread_unlock(td2); td->td_retval[0] = p2->p_pid; @@ -343,7 +340,6 @@ linux_clone_thread(struct thread *td, struct linux_clone_args *args) thread_lock(newtd); TD_SET_CAN_RUN(newtd); sched_add(newtd, SRQ_BORING); - thread_unlock(newtd); td->td_retval[0] = newtd->td_tid; |