projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
coredump: fix the setting of PF_DUMPCORE
[linux-2.6-block.git]
/
fs
/
coredump.c
diff --git
a/fs/coredump.c
b/fs/coredump.c
index 0b2528fb640e77e4a38a351c51f8a01f12102c14..a93f7e6ea4cf935aea64e8266b221a2c53477628 100644
(file)
--- a/
fs/coredump.c
+++ b/
fs/coredump.c
@@
-306,7
+306,7
@@
static int zap_threads(struct task_struct *tsk, struct mm_struct *mm,
if (unlikely(nr < 0))
return nr;
- tsk->flags = PF_DUMPCORE;
+ tsk->flags
|
= PF_DUMPCORE;
if (atomic_read(&mm->mm_users) == nr + 1)
goto done;
/*