git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Blackfin: announce current cpu rev when booting
[safe/jmp/linux-2.6]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
edeff9c
..
1415dc4
100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-1317,7
+1317,8
@@
bad_fork_free_pid:
if (pid != &init_struct_pid)
free_pid(pid);
bad_fork_cleanup_io:
- put_io_context(p->io_context);
+ if (p->io_context)
+ exit_io_context(p);
bad_fork_cleanup_namespaces:
exit_task_namespaces(p);
bad_fork_cleanup_mm: