Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 21:49:04 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197945 - head/sys/dev/fdc
Message-ID:  <200910102149.n9ALn4Br093280@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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