Print this page
Build provider 3rd arg from smb_request_t
hacking...

@@ -57,12 +57,11 @@
         int rc;
 
         rc = smbsr_decode_data(sr, "%S", sr,
             &sr->arg.dirop.fqi.fq_path.pn_path);
 
-        DTRACE_SMB_2(op__CreateDirectory__start, smb_request_t *, sr,
-            struct dirop *, &sr->arg.dirop);
+        DTRACE_SMB_1(op__CreateDirectory__start, smb_request_t *, sr); /* arg.dirop */
 
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void

@@ -204,12 +203,11 @@
         int rc;
 
         rc = smbsr_decode_data(sr, "%S", sr,
             &sr->arg.dirop.fqi.fq_path.pn_path);
 
-        DTRACE_SMB_2(op__DeleteDirectory__start, smb_request_t *, sr,
-            struct dirop *, &sr->arg.dirop);
+        DTRACE_SMB_1(op__DeleteDirectory__start, smb_request_t *, sr); /* arg.dirop */
 
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void

@@ -359,12 +357,11 @@
         int rc;
 
         rc = smbsr_decode_data(sr, "%S", sr,
             &sr->arg.dirop.fqi.fq_path.pn_path);
 
-        DTRACE_SMB_2(op__CheckDirectory__start, smb_request_t *, sr,
-            struct dirop *, &sr->arg.dirop);
+        DTRACE_SMB_1(op__CheckDirectory__start, smb_request_t *, sr); /* arg.dirop */
 
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void