aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/audit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 2125cc40e921..59d4ceb3b2a6 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1395,7 +1395,8 @@ struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask,
1395 return NULL; 1395 return NULL;
1396 } 1396 }
1397 1397
1398 audit_backlog_wait_time = audit_backlog_wait_time_master; 1398 if (!reserve)
1399 audit_backlog_wait_time = audit_backlog_wait_time_master;
1399 1400
1400 ab = audit_buffer_alloc(ctx, gfp_mask, type); 1401 ab = audit_buffer_alloc(ctx, gfp_mask, type);
1401 if (!ab) { 1402 if (!ab) {