1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Orphaning provider with EXDEV seems weird; perhaps the author meant

ENXIO here?
This commit is contained in:
Edward Tomasz Napierala 2009-10-10 21:49:04 +00:00
parent 6728dc169d
commit 7c3a3fbe95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197945

View File

@ -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);