mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 09:00:28 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169607
|
@ -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 a new issue