author: Silesh C V <svellattu@mvista.com> 2014-07-23 13:59:59 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2014-07-23 15:10:54 -0700
commit: aed8adb7688d5744cb484226820163af31d2499a
parent: 15ba2236f3556fc01b9ca91394465152b5ea74b6
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/coredump.c b/fs/coredump.c
index 0b2528fb640e..a93f7e6ea4cf 100644
--- 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;
/*