svn commit: r205765 - stable/8/sys/dev/fdc
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Mar 27 17:56:46 UTC 2010
Author: trasz
Date: Sat Mar 27 17:56:45 2010
New Revision: 205765
URL: http://svn.freebsd.org/changeset/base/205765
Log:
MFC r197945:
Orphaning provider with EXDEV seems weird; perhaps the author meant
ENXIO here?
Modified:
stable/8/sys/dev/fdc/fdc.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/fdc/fdc.c
==============================================================================
--- stable/8/sys/dev/fdc/fdc.c Sat Mar 27 17:54:44 2010 (r205764)
+++ stable/8/sys/dev/fdc/fdc.c Sat Mar 27 17:56:45 2010 (r205765)
@@ -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);
More information about the svn-src-stable-8
mailing list