mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r197945:
Orphaning provider with EXDEV seems weird; perhaps the author meant ENXIO here?
This commit is contained in:
parent
2287aa049c
commit
168d1f006b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue