Skip to content
Snippets Groups Projects
Commit a05fb6cc authored by Eric Paris's avatar Eric Paris
Browse files

audit: do not get and put just to free a watch


deleting audit watch rules is not currently done under audit_filter_mutex.
It was done this way because we could not hold the mutex during inotify
manipulation.  Since we are using fsnotify we don't need to do the extra
get/put pair nor do we need the private list on which to store the parents
while they are about to be freed.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent e118e9c5
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment