svn commit: r191991 - head/sys/kern
Attilio Rao
attilio at FreeBSD.org
Mon May 11 16:32:59 UTC 2009
Author: attilio
Date: Mon May 11 16:32:58 2009
New Revision: 191991
URL: http://svn.freebsd.org/changeset/base/191991
Log:
Fix a kernel compilation error, introduced after r191990, by defining
thread with curthread in the AUDIT case.
Reported by: dchagin
Modified:
head/sys/kern/vfs_lookup.c
Modified: head/sys/kern/vfs_lookup.c
==============================================================================
--- head/sys/kern/vfs_lookup.c Mon May 11 15:33:26 2009 (r191990)
+++ head/sys/kern/vfs_lookup.c Mon May 11 16:32:58 2009 (r191991)
@@ -457,6 +457,9 @@ lookup(struct nameidata *ndp)
int dvfslocked; /* VFS Giant state for parent */
int tvfslocked;
int lkflags_save;
+#ifdef AUDIT
+ struct thread *td = curthread;
+#endif
/*
* Setup: break out flag bits into variables.
More information about the svn-src-head
mailing list