Release the bus reference that is acquired when doing a CAMIOCOMMAND
ioctl. This should make SIM removal a bit more robust.
This commit is contained in:
parent
9602c3fce8
commit
daddc0011f
@ -1197,6 +1197,7 @@ xptioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td
|
||||
error = ENOTSUP;
|
||||
break;
|
||||
}
|
||||
xpt_release_bus(bus);
|
||||
break;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user