]> git.proxmox.com Git - mirror_zfs.git/commit
libzfsbootenv: lzbe_nvlist_set needs to store bootenv version VB_NVLIST
authorToomas Soome <tsoome@me.com>
Thu, 17 Sep 2020 17:51:09 +0000 (20:51 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Sep 2020 19:38:04 +0000 (12:38 -0700)
commit3902eaf9ed180235c7b0cb6e513d50c3bd9bd2a1
treee02bbd8b0182198d04cfd196661378a90be2156a
parent2cec08a1f04d22dbad21491c68bf4c9d2d615b65
libzfsbootenv: lzbe_nvlist_set needs to store bootenv version VB_NVLIST

A small bug did slip into initial libzfsbootenv; while storing nvlist
in nvlist, we should make sure the bootenv is using VB_NVLIST format.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Toomas Soome <tsoome@me.com>
Closes #10937
lib/libzfsbootenv/lzbe_pair.c