Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372724
b: refs/heads/master
c: e86d35c
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed May 4, 2013
1 parent f99b119 commit 32442e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d5cadb87e0fa764db7fa0b78d8a6f173cb475a1
refs/heads/master: e86d35c38e37eb64cb5d11933c42a2a72f16ce23
9 changes: 5 additions & 4 deletions trunk/fs/coredump.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,10 +654,11 @@ void do_coredump(siginfo_t *siginfo)
goto close_fail;
if (displaced)
put_files_struct(displaced);
file_start_write(cprm.file);
core_dumped = !dump_interrupted() && binfmt->core_dump(&cprm);
file_end_write(cprm.file);

if (!dump_interrupted()) {
file_start_write(cprm.file);
core_dumped = binfmt->core_dump(&cprm);
file_end_write(cprm.file);
}
if (ispipe && core_pipe_limit)
wait_for_dump_helpers(cprm.file);
close_fail:
Expand Down

0 comments on commit 32442e8

Please sign in to comment.