audit: redo audit watch locking and refcnt in light of fsnotify
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:12:04 +0000 (20:12 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:16 +0000 (09:58 -0400)
commite118e9c5638bbe877aa26b5cd2fd223cc24cdc8a
treee57559daadac89686a3523e9f55c5a61315e05bf
parente9fd702a58c49dbb14481dca88dad44758da393a
audit: redo audit watch locking and refcnt in light of fsnotify

fsnotify can handle mutexes to be held across all fsnotify operations since
it deals strickly in spinlocks.  This can simplify and reduce some of the
audit_filter_mutex taking and dropping.

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit_watch.c