summaryrefslogtreecommitdiff
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-01-25 15:52:46 +0100
committerIngo Molnar <mingo@kernel.org>2017-01-25 15:52:46 +0100
commit47cd95a6326888a46e7ce8389cd394a3e1c647e7 (patch)
treedfbb526bcca1a4f627294f19983e1f0b43af9204 /fs/binfmt_elf.c
parent9f6f941e25bad8fcffc24d10762962d62edba767 (diff)
parent883af14e67e8b8702b5560aa64c888c0cd0bd66c (diff)
Merge branch 'linus' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 29a02daf08a9..422370293cfd 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -2298,6 +2298,7 @@ static int elf_core_dump(struct coredump_params *cprm)
goto end_coredump;
}
}
+ dump_truncate(cprm);
if (!elf_core_write_extra_data(cprm))
goto end_coredump;