Fix a kernel compilation error, introduced after r191990, by defining

thread with curthread in the AUDIT case.

Reported by:	dchagin
This commit is contained in:
Attilio Rao 2009-05-11 16:32:58 +00:00
parent dfd233edd5
commit 22d7ae67d4

View File

@ -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.