mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
When calling XPT_REL_SIMQ to ajust number of openings, do not try to really
release device. We haven't frozen the device before and attempt to release it will at least cause warning message from kernel.
This commit is contained in:
parent
cf2b9a5f0f
commit
d17d64c4bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220887
@ -2755,6 +2755,7 @@ tagcontrol(struct cam_device *device, int argc, char **argv,
|
||||
bzero(&(&ccb->ccb_h)[1],
|
||||
sizeof(struct ccb_relsim) - sizeof(struct ccb_hdr));
|
||||
ccb->ccb_h.func_code = XPT_REL_SIMQ;
|
||||
ccb->ccb_h.flags = CAM_DEV_QFREEZE;
|
||||
ccb->crs.release_flags = RELSIM_ADJUST_OPENINGS;
|
||||
ccb->crs.openings = numtags;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user