Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16999
b: refs/heads/master
c: fe7d37d
h: refs/heads/master
i:
  16997: 84afc8b
  16995: 4a6375d
  16991: 54619c1
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jan 9, 2006
1 parent c23706a commit 98aa08f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ddc0f846aa7621940b74cee0c91cd26405058a4d
refs/heads/master: fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55
8 changes: 2 additions & 6 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1146,11 +1146,6 @@ static task_t *copy_process(unsigned long clone_flags,
total_forks++;
write_unlock_irq(&tasklist_lock);
proc_fork_connector(p);
retval = 0;

fork_out:
if (retval)
return ERR_PTR(retval);
return p;

bad_fork_cleanup_namespace:
Expand Down Expand Up @@ -1191,7 +1186,8 @@ static task_t *copy_process(unsigned long clone_flags,
free_uid(p->user);
bad_fork_free:
free_task(p);
goto fork_out;
fork_out:
return ERR_PTR(retval);
}

struct pt_regs * __devinit __attribute__((weak)) idle_regs(struct pt_regs *regs)
Expand Down

0 comments on commit 98aa08f

Please sign in to comment.