aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index e32344bdfab1..34a9771eaa6c 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -2092,8 +2092,7 @@ static int elf_core_dump(struct coredump_params *cprm)
2092 goto cleanup; 2092 goto cleanup;
2093 2093
2094 has_dumped = 1; 2094 has_dumped = 1;
2095 current->flags |= PF_DUMPCORE; 2095
2096
2097 fs = get_fs(); 2096 fs = get_fs();
2098 set_fs(KERNEL_DS); 2097 set_fs(KERNEL_DS);
2099 2098