summaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_misc.c
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2020-09-23 16:43:51 -0700
committerGitHub <[email protected]>2020-09-23 16:43:51 -0700
commit7b8363d7f0ca85a2dde7473d6079147387f2f1fc (patch)
tree9a2c7e3cc8822be6b150e7de3c068e5d9e6793ae /module/zfs/spa_misc.c
parent3dad29fb4b085a159d26e2322dc07b46950ff72e (diff)
FreeBSD: Add support for procfs_list
The procfs_list interface is required by several kstats. Implement this functionality for FreeBSD to provide access to these kstats. Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #10890
Diffstat (limited to 'module/zfs/spa_misc.c')
-rw-r--r--module/zfs/spa_misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c
index 41f0ddbde..042104728 100644
--- a/module/zfs/spa_misc.c
+++ b/module/zfs/spa_misc.c
@@ -2169,6 +2169,7 @@ spa_import_progress_init(void)
spa_import_progress_list;
procfs_list_install("zfs",
+ NULL,
"import_progress",
0644,
&spa_import_progress_list->procfs_list,