Print this page
Fix NFS dtrace

@@ -106,11 +106,11 @@
         noi_xid = P->req->rq_xprt->xp_xid;
         noi_cred = P->basecr;
         noi_curpath = (P->vp == NULL) ? "<unknown>" : P->vp->v_path;
         noi_shrpath = (P->exi == NULL || P->exi->exi_export.ex_path == NULL) ?
             "<unknown>" : P->exi->exi_export.ex_path;
-        noi_zoneid = (P->exi == NULL) ? -1 : P->exi->exi_zoneid;
+        noi_zoneid = (P->exi == NULL) ? -1 : P->exi->exi_zone->zone_id;
 };
 
 typedef struct nfsv3opinfo {
         uint64_t noi_xid;       /* unique transation ID */
         cred_t *noi_cred;       /* credentials for operation */

@@ -129,7 +129,7 @@
             "<unknown>" : ((vnode_t *)arg2)->v_path;
         noi_shrpath =
             (arg3 == 0 || ((exportinfo_t *)arg3)->exi_export.ex_path == NULL) ?
             "<unknown>" : ((exportinfo_t *)arg3)->exi_export.ex_path;
         noi_zoneid =
-            (arg3 == 0) ? -1 : ((exportinfo_t *)arg3)->exi_zoneid;
+            (arg3 == 0) ? -1 : ((exportinfo_t *)arg3)->exi_zone->zone_id;
 };