[Bug 256368] ZFS: FreebBSD 13 does not boot after ZIL remove: panic: VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, &txg)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Dec 2022 07:41:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256368
--- Comment #5 from titus m <titus@edc.ro> ---
(In reply to titus m from comment #4)
for some reason the patch fails to apply to a stock 13.1
try this
--- spa_os.c 2022-12-03 09:21:13.458192000 +0200
+++ 1spa_os.c 2022-12-03 09:19:32.962406000 +0200
@@ -94,7 +94,7 @@
best_txg = 0;
for (i = 0; i < count; i++) {
uint64_t txg;
-
+ if(!configs[i]) continue;
txg = fnvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG);
if (txg > best_txg) {
best_txg = txg;
--
You are receiving this mail because:
You are the assignee for the bug.