zfs_keys_nextboot array is missing ZPOOL_CONFIG_POOL_GUID and ZPOOL_CONFIG_GUID
As we do check the incomint nvlist, we either need to list all possible keys or use wildcard. PR: 248462 Reported by: larafercue@gmail.com Sponsored by: Netflix, Klara Inc.
This commit is contained in:
parent
c085d2ea97
commit
491ceb65ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363910
@ -3657,6 +3657,8 @@ zfs_ioc_log_history(const char *unused, nvlist_t *innvl, nvlist_t *outnvl)
|
||||
#ifdef __FreeBSD__
|
||||
static const zfs_ioc_key_t zfs_keys_nextboot[] = {
|
||||
{"command", DATA_TYPE_STRING, 0},
|
||||
{ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64, 0},
|
||||
{ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, 0}
|
||||
};
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user