diff options
author | Chris Dunlop <[email protected]> | 2015-04-02 23:17:26 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-04-02 09:49:55 -0700 |
commit | c0899611103c76bb975c7bab5063d937f76e61e6 (patch) | |
tree | 86e732c0b18ed55c1ee557ec8d7aa8a141e06863 /include/sys | |
parent | fade6b00b61e71f4332d274b9a5e0528764df5fb (diff) |
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #444
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/zone.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <sys/byteorder.h> -#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 */ |