]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: xdr_array is missing count
authortsoome <tsoome@FreeBSD.org>
Mon, 7 Dec 2020 11:25:18 +0000 (11:25 +0000)
committertsoome <tsoome@FreeBSD.org>
Mon, 7 Dec 2020 11:25:18 +0000 (11:25 +0000)
commit5b641fe78b854c4ac9c790e619a15e1d9a66321d
treefa8cce83eacd1e66f4593d647690953a62e15eda
parent2e14cd007052b2c3747b74bf045b524b42289c8c
loader: xdr_array is missing count

The integer arrays are encoded in nvlist as counted array <count, i0, i1...>,
loader xdr_array() is missing the count. This will affect the pool import when
there are hole devices in pool.

Also fix the new data add and print functions.
stand/libsa/zfs/nvlist.c