]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/zpool/zpool_main.c
Add missing checks for unsupported features
authorMartin Matuška <mm@FreeBSD.org>
Sun, 28 Feb 2021 01:16:02 +0000 (02:16 +0100)
committerGitHub <noreply@github.com>
Sun, 28 Feb 2021 01:16:02 +0000 (17:16 -0800)
commit03ef8f09e1d2854afe1436b897b81bac872f1be7
treeddada2d3f845bbe4db8c58bf8dbf5460189e0c62
parent778fa36ee79bc8887f3b4bb2c3bb09784a3fb33c
Add missing checks for unsupported features

After 35ec517 it has become possible to import ZFS pools witn an
active org.illumos:edonr feature on FreeBSD, leading to a panic.

In addition, "zpool status" reported all pools without edonr
as upgradable and "zpool upgrade -v" reported edonr in the list
of upgradable features.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Martin Matuska <mm@FreeBSD.org>
Closes #11653
cmd/zpool/zpool_main.c
cmd/ztest/ztest.c
lib/libzfs/libzfs_status.c
module/zcommon/zfeature_common.c