Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206460
b: refs/heads/master
c: 5f202bd
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Frederic Weisbecker committed Jul 9, 2010
1 parent 5189d16 commit 8db5028
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: 5e3d20a68f63fc5a310687d81956c3b96e488b84
refs/heads/master: 5f202bd5ca64132cdd7f186656bc0221f257733d
7 changes: 0 additions & 7 deletions trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <linux/mm.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/smp_lock.h>
#include <linux/swap.h>
#include <linux/string.h>
#include <linux/init.h>
Expand Down Expand Up @@ -1891,13 +1890,7 @@ void do_coredump(long signr, int exit_code, struct pt_regs *regs)
*/
clear_thread_flag(TIF_SIGPENDING);

/*
* lock_kernel() because format_corename() is controlled by sysctl, which
* uses lock_kernel()
*/
lock_kernel();
ispipe = format_corename(corename, signr);
unlock_kernel();

if (ispipe) {
int dump_count;
Expand Down

0 comments on commit 8db5028

Please sign in to comment.