]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove PDU_TOTAL_TRANSFER_LEN() macro.
authormav <mav@FreeBSD.org>
Thu, 28 May 2020 23:55:46 +0000 (23:55 +0000)
committermav <mav@FreeBSD.org>
Thu, 28 May 2020 23:55:46 +0000 (23:55 +0000)
commit29ad1d9d09c2ebd9a5bbc5e2dfbae39226ce00ac
tree6cb28f8315c0fa1766ebfda2981204916ec94447
parent0445cbd6a8f786da6eceac64ed25a478590aa848
Remove PDU_TOTAL_TRANSFER_LEN() macro.

I don't see a point to copy io->scsiio.kern_total_len into the request
PDU private field.  The io is going to stay with us till the end, and
kern_total_len field is not changed after being first initialized.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
sys/cam/ctl/ctl_frontend_iscsi.c