diff options
author | Alan Somers <asomers@FreeBSD.org> | 2015-04-14 16:33:33 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2015-04-14 16:33:33 +0000 |
commit | 738fd1662591bfcad96139b4d4a929f5da3e065c (patch) | |
tree | 21a0f3b2e60404133b882d38f6c5855be573ffb9 /sys/cam/cam_xpt.c | |
parent | 3085e1216ea66f0b59c618aca5d0ef2490fb2271 (diff) | |
download | src-738fd1662591bfcad96139b4d4a929f5da3e065c.tar.gz src-738fd1662591bfcad96139b4d4a929f5da3e065c.zip |
Notes
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r-- | sys/cam/cam_xpt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 06e01fcf58f5..ad55373c25a6 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -4264,8 +4264,10 @@ xpt_async(u_int32_t async_code, struct cam_path *path, void *async_arg) } memcpy(ccb->casync.async_arg_ptr, async_arg, size); ccb->casync.async_arg_size = size; - } else if (size < 0) + } else if (size < 0) { + ccb->casync.async_arg_ptr = async_arg; ccb->casync.async_arg_size = size; + } if (path->device != NULL && path->device->lun_id != CAM_LUN_WILDCARD) xpt_freeze_devq(path, 1); else |