aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/kmod.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 6194ec2f737b..7efba6f8e3ec 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -134,11 +134,8 @@ static int ____call_usermodehelper(void *data)
134 struct subprocess_info *sub_info = data; 134 struct subprocess_info *sub_info = data;
135 int retval; 135 int retval;
136 136
137 /* Unblock all signals */
138 spin_lock_irq(&current->sighand->siglock); 137 spin_lock_irq(&current->sighand->siglock);
139 flush_signal_handlers(current, 1); 138 flush_signal_handlers(current, 1);
140 sigemptyset(&current->blocked);
141 recalc_sigpending();
142 spin_unlock_irq(&current->sighand->siglock); 139 spin_unlock_irq(&current->sighand->siglock);
143 140
144 /* We can run anywhere, unlike our parent keventd(). */ 141 /* We can run anywhere, unlike our parent keventd(). */