summaryrefslogtreecommitdiffstats
path: root/include/sys/spa_impl.h
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-03-02 12:43:30 -0500
committerGitHub <[email protected]>2020-03-02 09:43:30 -0800
commit9bb907bc3fdcaa132ecb0f8326c8815f27824ce4 (patch)
tree21d6bca86ddbe51700cc3d78939f63b5ed565bd6 /include/sys/spa_impl.h
parent1289fbb557e1f6d4de69a085280890619bc71127 (diff)
Make spa_history_zone platform-dependent in kernel
This function should only return "linux" on Linux. Move the kernel part of the function out of common code. Fix the tests for FreeBSD. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10079
Diffstat (limited to 'include/sys/spa_impl.h')
-rw-r--r--include/sys/spa_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/spa_impl.h b/include/sys/spa_impl.h
index 02cb48057..e8806dda9 100644
--- a/include/sys/spa_impl.h
+++ b/include/sys/spa_impl.h
@@ -447,6 +447,7 @@ extern void spa_event_post(sysevent_t *ev);
extern int param_set_deadman_failmode_common(const char *val);
extern void spa_set_deadman_synctime(hrtime_t ns);
extern void spa_set_deadman_ziotime(hrtime_t ns);
+extern const char *spa_history_zone(void);
#ifdef __cplusplus
}