diff --git a/kernel/auditsc.c b/kernel/auditsc.c index ffa8d64f6fef..fb474e36c971 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -1899,6 +1899,8 @@ void __audit_inode_child(struct inode *parent, } } + cond_resched(); + /* is there a matching child entry? */ list_for_each_entry(n, &context->names_list, list) { /* can only match entries that have a name */