From c0899611103c76bb975c7bab5063d937f76e61e6 Mon Sep 17 00:00:00 2001 From: Chris Dunlop Date: Thu, 2 Apr 2015 23:17:26 +1100 Subject: Add crgetzoneid() stub Illumos 3897 introduces a dependency on crgetzoneid(). Stub it out until such time as zones are implemented. References: https://www.illumos.org/issues/3897 https://github.com/illumos/illumos-gate/commit/fb7001f Signed-off-by: Chris Dunlop Signed-off-by: Brian Behlendorf Closes #444 --- include/sys/zone.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/sys') diff --git a/include/sys/zone.h b/include/sys/zone.h index 6b7a1c65f..5a3c0869f 100644 --- a/include/sys/zone.h +++ b/include/sys/zone.h @@ -27,7 +27,10 @@ #include -#define zone_dataset_visible(x, y) (1) -#define INGLOBALZONE(z) (1) +#define GLOBAL_ZONEID 0 + +#define zone_dataset_visible(x, y) (1) +#define crgetzoneid(x) (GLOBAL_ZONEID) +#define INGLOBALZONE(z) (1) #endif /* SPL_ZONE_H */ -- cgit v1.2.3