mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +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 New Issue
Block a user