Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15027
b: refs/heads/master
c: 7a4ae74
h: refs/heads/master
i:
  15025: 6799adf
  15023: 9bee895
v: v3
  • Loading branch information
Pierre Ossman authored and Linus Torvalds committed Dec 12, 2005
1 parent 61dfd28 commit 9bca95a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf001b26793bd9f8a446577c361226fbcd617182
refs/heads/master: 7a4ae749a478f8bca73d4b5b8c1b8cbb178b2db5
4 changes: 3 additions & 1 deletion trunk/kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,10 @@ int kauditd_thread(void *dummy)
set_current_state(TASK_INTERRUPTIBLE);
add_wait_queue(&kauditd_wait, &wait);

if (!skb_queue_len(&audit_skb_queue))
if (!skb_queue_len(&audit_skb_queue)) {
try_to_freeze();
schedule();
}

__set_current_state(TASK_RUNNING);
remove_wait_queue(&kauditd_wait, &wait);
Expand Down

0 comments on commit 9bca95a

Please sign in to comment.