PERFORCE change 105162 for review
Alex Lyashkov
als at FreeBSD.org
Sun Aug 27 07:16:48 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105162
Change 105162 by als at als_head on 2006/08/27 07:16:10
fix assert - nfsd call closef() without any thread specificated.
Affected files ...
.. //depot/projects/jail2/sys/kern/kern_descrip.c#6 edit
Differences ...
==== //depot/projects/jail2/sys/kern/kern_descrip.c#6 (text+ko) ====
@@ -2190,7 +2190,7 @@
#ifdef JAIL
struct prison *jail = fp->f_cred->cr_prison;
- KASSERT(td->td_ucred->cr_prison == jail, ("File closed at different context!"));
+ KASSERT((td == NULL || td->td_ucred->cr_prison == jail), ("File closed at different context!"));
#endif
FILE_LOCK_ASSERT(fp, MA_OWNED);
More information about the p4-projects
mailing list