VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Oleg Nesterov <oleg@redhat.com> 2013-04-30 15:28:16 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2013-04-30 17:04:06 -0700 commit: 079148b919d0c58b796f9ae98bdb53028dbcd5e7 parent: 528f827ee0bb508af5c9466562f474675540473e
Commit Summary:
coredump: factor out the setting of PF_DUMPCORE
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index 9c13e023e2b7..c1cc06aed601 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -1687,8 +1687,6 @@ static int elf_fdpic_core_dump(struct coredump_params *cprm)
 	fill_elf_fdpic_header(elf, e_phnum);
 
 	has_dumped = 1;
-	current->flags |= PF_DUMPCORE;
-
 	/*
 	 * Set up the notes in similar form to SVR4 core dumps made
 	 * with info from their /proc.