]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: xdr_array is missing count
authorToomas Soome <tsoome@FreeBSD.org>
Mon, 7 Dec 2020 11:25:18 +0000 (11:25 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Mon, 7 Dec 2020 11:25:18 +0000 (11:25 +0000)
commit9de6a13e0f492954612bb7d9752bdd3a1102d17a
treefa8cce83eacd1e66f4593d647690953a62e15eda
parente87b9cbead2eb072db275d8b2769a038349b1329
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