HomeFreeBSD

l2arc: reset b_tmp_cdata to NULL in the case of unset b_daddr

Description

l2arc: reset b_tmp_cdata to NULL in the case of unset b_daddr

The change is in arc_buf_l2_cdata_free().
Without this we can trip the assertion in arc_hdr_realloc()
if INVARIANTS option is enabled.

Approved by: re (kib)
MFC after: 1 week

Details

Provenance
avgAuthored on
Parents
rS301872: Do not define __NO_STRICT_ALIGNMENT for armv6. While the requirements
Branches
Unknown
Tags
Unknown