From: Chris Dunlop Date: Thu, 2 Apr 2015 12:17:26 +0000 (+1100) Subject: Add crgetzoneid() stub X-Git-Tag: spl-0.7.12~196 X-Git-Url: https://git.proxmox.com/?p=mirror_spl.git;a=commitdiff_plain;h=c0899611103c76bb975c7bab5063d937f76e61e6 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 --- diff --git a/include/sys/zone.h b/include/sys/zone.h index 6b7a1c6..5a3c086 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 */