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:
parent
dfd233edd5
commit
22d7ae67d4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user