mirror of
https://github.com/drasko/codezero.git
synced 2026-04-03 02:29:06 +02:00
Removed linux linked list dependency.
This commit is contained in:
@@ -96,7 +96,7 @@ int execve_recycle_task(struct tcb *new, struct tcb *orig)
|
||||
/* Copy parent relationship */
|
||||
BUG_ON(new->parent);
|
||||
new->parent = orig->parent;
|
||||
list_add(&new->child_ref, &orig->parent->children);
|
||||
list_insert(&new->child_ref, &orig->parent->children);
|
||||
|
||||
/* Flush all IO on task's files and close fds */
|
||||
task_close_files(orig);
|
||||
|
||||
Reference in New Issue
Block a user