diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2025-08-20 14:50:58 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2025-08-20 14:50:58 +0000 |
| commit | 5d5d03356e21123f7002aa4c13136db9761eb98c (patch) | |
| tree | 5b49bc218753d00e3548729603f4c14a20d59f76 /stand | |
| parent | 39fea5c8dc598021e900c4feaf0e18111fda57b2 (diff) | |
Diffstat (limited to 'stand')
| -rw-r--r-- | stand/libsa/zfs/zfsimpl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stand/libsa/zfs/zfsimpl.c b/stand/libsa/zfs/zfsimpl.c index 971d71d098d3..0bf232710d7f 100644 --- a/stand/libsa/zfs/zfsimpl.c +++ b/stand/libsa/zfs/zfsimpl.c @@ -1165,13 +1165,11 @@ done: static int vdev_init_from_label(spa_t *spa, const nvlist_t *nvlist) { - uint64_t pool_guid, top_guid, txg; + uint64_t top_guid, txg; nvlist_t *vdevs; int rc; - if (nvlist_find(nvlist, ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64, - NULL, &pool_guid, NULL) || - nvlist_find(nvlist, ZPOOL_CONFIG_TOP_GUID, DATA_TYPE_UINT64, + if (nvlist_find(nvlist, ZPOOL_CONFIG_TOP_GUID, DATA_TYPE_UINT64, NULL, &top_guid, NULL) || nvlist_find(nvlist, ZPOOL_CONFIG_POOL_TXG, DATA_TYPE_UINT64, NULL, &txg, NULL) != 0 || |
