]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
l2arc: reset b_tmp_cdata to NULL in the case of unset b_daddr
authoravg <avg@FreeBSD.org>
Mon, 13 Jun 2016 18:39:13 +0000 (18:39 +0000)
committeravg <avg@FreeBSD.org>
Mon, 13 Jun 2016 18:39:13 +0000 (18:39 +0000)
commit542bc13e581abc43081af7c269422f46a2da85e3
tree2f82b70cef7d89de0b1791fb961dec938adb6931
parentccff332313188686e9815f4bc87de01bfa6919fd
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
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c