diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 20:06:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 20:06:54 -0400 |
commit | 78417334b5cb6e1f915b8fdcc4fce3f1a1b4420c (patch) | |
tree | 8e3fce9f27fd058904c0a3247a5c5ebb8df9fbe8 /fs/exec.c | |
parent | cd816a0d84377c4e87f55cbe934a23417f9f5743 (diff) | |
parent | 5f202bd5ca64132cdd7f186656bc0221f257733d (diff) |
Merge branch 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing
* 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
do_coredump: Do not take BKL
init: Remove the BKL from startup code
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/stat.h> | 29 | #include <linux/stat.h> |
30 | #include <linux/fcntl.h> | 30 | #include <linux/fcntl.h> |
31 | #include <linux/smp_lock.h> | ||
32 | #include <linux/swap.h> | 31 | #include <linux/swap.h> |
33 | #include <linux/string.h> | 32 | #include <linux/string.h> |
34 | #include <linux/init.h> | 33 | #include <linux/init.h> |
@@ -1892,13 +1891,7 @@ void do_coredump(long signr, int exit_code, struct pt_regs *regs) | |||
1892 | */ | 1891 | */ |
1893 | clear_thread_flag(TIF_SIGPENDING); | 1892 | clear_thread_flag(TIF_SIGPENDING); |
1894 | 1893 | ||
1895 | /* | ||
1896 | * lock_kernel() because format_corename() is controlled by sysctl, which | ||
1897 | * uses lock_kernel() | ||
1898 | */ | ||
1899 | lock_kernel(); | ||
1900 | ispipe = format_corename(corename, signr); | 1894 | ispipe = format_corename(corename, signr); |
1901 | unlock_kernel(); | ||
1902 | 1895 | ||
1903 | if (ispipe) { | 1896 | if (ispipe) { |
1904 | int dump_count; | 1897 | int dump_count; |