audit: refactor hold queue flush
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 24 Jan 2013 18:15:10 +0000 (13:15 -0500)
committerEric Paris <eparis@redhat.com>
Mon, 8 Apr 2013 20:19:16 +0000 (16:19 -0400)
commitb551d1d98197b7dd58fc3ead8d4d01830c09567d
tree7ed1df39882cc12be1767b52eab35bdbb2d72312
parent37eebe39c9731a76535f08de455db97eb93894ae
audit: refactor hold queue flush

The hold queue flush code is an autonomous chunk of code that can be
refactored, removed from kauditd_thread() into flush_hold_queue() and
flattenned for better legibility.

Signed-off-by: Richard Guy Briggs <rbriggs@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c