summaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
authorPaul Zuchowski <[email protected]>2019-11-27 13:45:56 -0500
committerBrian Behlendorf <[email protected]>2019-11-27 10:45:56 -0800
commit7c1bf0cf27f5947b5094b42e7707f22b28c5f923 (patch)
treee6af25861fc8d4e5345d98237d5e1b918e88f746 /lib/libzpool
parent9e17e6f2541c69a7a5e0ed814a7f5e71cbf8b90a (diff)
Implement -A (ignore ASSERTs) for zdb
The command line switch -A (ignore ASSERTs) has always been available in zdb but was never connected up to the correct global variable. There are times when you need zdb to ignore asserts and keep dumping out whatever information it can get despite the ASSERT(s) failing. It was always intended to be part of zdb but was incomplete. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Paul Zuchowski <[email protected]> Closes #9610
Diffstat (limited to 'lib/libzpool')
-rw-r--r--lib/libzpool/kernel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c
index ef52ed3af..6123b5d6a 100644
--- a/lib/libzpool/kernel.c
+++ b/lib/libzpool/kernel.c
@@ -47,7 +47,6 @@
* Emulation of kernel services in userland.
*/
-int aok;
uint64_t physmem;
char hw_serial[HW_HOSTID_LEN];
struct utsname hw_utsname;