From owner-svn-src-head@FreeBSD.ORG Sat Oct 10 21:49:04 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E84106566B; Sat, 10 Oct 2009 21:49:04 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C02318FC1A; Sat, 10 Oct 2009 21:49:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9ALn4EP093282; Sat, 10 Oct 2009 21:49:04 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9ALn4Br093280; Sat, 10 Oct 2009 21:49:04 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <200910102149.n9ALn4Br093280@svn.freebsd.org> From: Edward Tomasz Napierala Date: Sat, 10 Oct 2009 21:49:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r197945 - head/sys/dev/fdc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 21:49:04 -0000 Author: trasz Date: Sat Oct 10 21:49:04 2009 New Revision: 197945 URL: http://svn.freebsd.org/changeset/base/197945 Log: Orphaning provider with EXDEV seems weird; perhaps the author meant ENXIO here? Modified: head/sys/dev/fdc/fdc.c Modified: head/sys/dev/fdc/fdc.c ============================================================================== --- head/sys/dev/fdc/fdc.c Sat Oct 10 21:43:04 2009 (r197944) +++ head/sys/dev/fdc/fdc.c Sat Oct 10 21:49:04 2009 (r197945) @@ -864,7 +864,7 @@ fdc_worker(struct fdc_data *fdc) fd->flags |= FD_NEWDISK; mtx_unlock(&fdc->fdc_mtx); g_topology_lock(); - g_orphan_provider(fd->fd_provider, EXDEV); + g_orphan_provider(fd->fd_provider, ENXIO); fd->fd_provider->flags |= G_PF_WITHER; fd->fd_provider = g_new_providerf(fd->fd_geom, fd->fd_geom->name);