Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2006 07:16:47 GMT
From:      Alex Lyashkov <als@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 105162 for review
Message-ID:  <200608270716.k7R7GlUJ083874@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105162

Change 105162 by als@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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608270716.k7R7GlUJ083874>