From owner-cvs-all Thu Feb 4 10:25:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA27998 for cvs-all-outgoing; Thu, 4 Feb 1999 10:25:41 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27993; Thu, 4 Feb 1999 10:25:40 -0800 (PST) (envelope-from dillon@FreeBSD.org) From: Matt Dillon Received: (from dillon@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id KAA93276; Thu, 4 Feb 1999 10:25:39 -0800 (PST) (envelope-from dillon@FreeBSD.org) Date: Thu, 4 Feb 1999 10:25:39 -0800 (PST) Message-Id: <199902041825.KAA93276@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/02/04 10:25:39 PST Modified files: sys/kern vfs_subr.c Log: vp->v_object must be valid after normal flow of vfs_object_create() completes, change if() to KASSERT(). This is not a bug, we are simplify clarifying and optimizing the code. In if/else in vfs_object_create(), the failure of both conditionals will lead to a NULL object. Exit gracefully if this case occurs. ( this case does not normally occur, but needed to be handled ). Obtained from: Eivind Eklund Revision Changes Path 1.186 +9 -3 src/sys/kern/vfs_subr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message