[PATCH] simplify audit_free() locking
authorIngo Molnar <mingo@elte.hu>
Wed, 8 Mar 2006 07:51:39 +0000 (23:51 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Mar 2006 19:08:55 +0000 (14:08 -0500)
commit4023e020807ea249ae83f0d1d851b4c7cf0afd8a
tree3bc91756c9429bd89c2ebb47108ed772dd29c4cf
parentd9d9ec6e2c45b22282cd36cf92fcb23d504350a8
[PATCH] simplify audit_free() locking

Simplify audit_free()'s locking: no need to lock a task that we are tearing
down.  [the extra locking also caused false positives in the lock
validator]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/auditsc.c