From owner-cvs-all@FreeBSD.ORG Fri Nov 30 21:29:09 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CD9116A418; Fri, 30 Nov 2007 21:29:09 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1A77713C442; Fri, 30 Nov 2007 21:29:09 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lAULT9Uf006687; Fri, 30 Nov 2007 21:29:09 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lAULT8U2006660; Fri, 30 Nov 2007 21:29:09 GMT (envelope-from peter) Message-Id: <200711302129.lAULT8U2006660@repoman.freebsd.org> From: Peter Wemm Date: Fri, 30 Nov 2007 21:29:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_sysctl.c src/sys/sys sysctl.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 30 Nov 2007 21:29:09 -0000 peter 2007-11-30 21:29:08 UTC FreeBSD src repository Modified files: sys/kern kern_sysctl.c sys/sys sysctl.h Log: Add sysctl_rename_oid() to support device_set_unit() usage. Otherwise, when unit numbers are changed, the sysctl devinfo tree gets out of sync and duplicate trees are attempted to be attached with the original name. Revision Changes Path 1.179 +19 -0 src/sys/kern/kern_sysctl.c 1.152 +1 -0 src/sys/sys/sysctl.h