From owner-cvs-all@FreeBSD.ORG Mon Oct 20 00:04:10 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F47616A4B3; Mon, 20 Oct 2003 00:04:10 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C26DA43FBF; Mon, 20 Oct 2003 00:04:09 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9K749XJ019957; Mon, 20 Oct 2003 00:04:09 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9K749vu019956; Mon, 20 Oct 2003 00:04:09 -0700 (PDT) (envelope-from phk) Message-Id: <200310200704.h9K749vu019956@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 20 Oct 2003 00:04:09 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 07:04:10 -0000 phk 2003/10/20 00:04:09 PDT FreeBSD src repository Modified files: sys/fs/devfs devfs_vnops.c Log: When a driver successfully created a device on demand, we can directly pick up the DEVFS inode number from the dev_t and find our directory entry from that, we don't need to scan the directory to find it. This also solves an issue with on-demand devices in subdirectories. Submitted by: cognet Revision Changes Path 1.66 +6 -7 src/sys/fs/devfs/devfs_vnops.c