Tony Jones 7b018b2888 audit: fix oops removing watch if audit disabled
Removing a watched file will oops if audit is disabled (auditctl -e 0).

To reproduce:
- auditctl -e 1
- touch /tmp/foo
- auditctl -w /tmp/foo
- auditctl -e 0
- rm /tmp/foo (or mv)

Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-24 08:59:12 -07:00
..
2007-06-16 13:16:15 -07:00
2007-06-01 08:18:30 -07:00
2007-05-11 05:38:25 -04:00
2007-05-11 05:38:26 -04:00
2007-05-23 20:14:11 -07:00
2007-06-18 09:48:41 -07:00
2006-12-07 08:39:36 -08:00
2006-12-04 02:00:22 -05:00
2007-05-09 07:26:28 +02:00
2007-05-09 12:30:56 -07:00
2007-05-21 09:18:19 -07:00
2007-05-11 05:38:25 -04:00
2005-04-16 15:20:36 -07:00
2007-05-11 08:29:35 -07:00
2006-12-07 08:39:25 -08:00
2007-05-09 08:57:56 +02:00