HomeFreeBSD

cam: clear stack-allocated CCB in the target layer

Description

cam: clear stack-allocated CCB in the target layer

Note that, as pointed out by scottl@, this code should really look
a bit different, in that the stack allocations should be replaced
with dynamic allocation, and the periph creation should be moved
to a context where one can use M_WAITOK. See the review for more
details. For now let's go with a minimal fix until we're done with
UMA CCBs.

Reviewed By: mav, imp
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D30298

Details

Provenance
traszAuthored on Jul 21 2021, 9:18 AM
Reviewer
mav
Differential Revision
D30298: cam: clear stack-allocated CCB in the target layer
Parents
rG0634390572b2: chroot: fix typo in usage
Branches
Unknown
Tags
Unknown