do_coredump: Do not take BKL
commit5f202bd5ca64132cdd7f186656bc0221f257733d
authorArnd Bergmann <arnd@arndb.de>
Sat, 3 Jul 2010 22:02:25 +0000 (4 00:02 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 9 Jul 2010 23:21:49 +0000 (10 01:21 +0200)
treee53eac24bf18052955565370f3327da088fa1be7
parent5e3d20a68f63fc5a310687d81956c3b96e488b84
do_coredump: Do not take BKL

core_pattern is not actually protected and hasn't been
ever since we introduced procfs support for sysctl -- a
_long_ time. Don't take it here either.

Also nothing inside do_coredump appears to require bkl
protection.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[ remove smp_lock.h headers ]
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
fs/exec.c