HomeFreeBSD

nvmecontrol: Consolidate error paths in connect_nvm_queues()

Description

nvmecontrol: Consolidate error paths in connect_nvm_queues()

Zero the I/O queue array earlier so that disconnect_nvm_queues() can
be safely used for earlier failures.

Suggested by: dab
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D48654

Details

Provenance
jhbAuthored on Thu, Jan 30, 3:50 PM
Differential Revision
D48654: nvmecontrol: Consolidate error paths in connect_nvm_queues()
Parents
rG66b107e82b2f: ctld: Use kevent(2) for socket events rather than select(2)
Branches
Unknown
Tags
Unknown