X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=kernel%2Ffork.c;h=0cf9cdb6e4919f254b32d04f6fdeb4943143a8d3;hb=10615a5c49721803ed258316280858142a24e72a;hp=1380d8ace334be7f7d6b49d760ed5c6013e4c7bb;hpb=c7a19c795b4b0a3232c157ed29eea85077e95da6;p=deliverable%2Flinux.git diff --git a/kernel/fork.c b/kernel/fork.c index 1380d8ace334..0cf9cdb6e491 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1105,7 +1105,7 @@ static void copy_seccomp(struct task_struct *p) * needed because this new task is not yet running and cannot * be racing exec. */ - BUG_ON(!spin_is_locked(¤t->sighand->siglock)); + assert_spin_locked(¤t->sighand->siglock); /* Ref-count the new filter user, and assign it. */ get_seccomp_filter(current);