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 <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #444
This commit is contained in:
Chris Dunlop 2015-04-02 23:17:26 +11:00 committed by Brian Behlendorf
parent fade6b00b6
commit c089961110

View File

@ -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 */