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

@@ -45,12 +45,11 @@
                 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
 
         op->create_disposition = FILE_OVERWRITE_IF;
         op->create_options = FILE_NON_DIRECTORY_FILE;
 
-        DTRACE_SMB_2(op__Create__start, smb_request_t *, sr,
-            struct open_param *, op);
+        DTRACE_SMB_1(op__Create__start, smb_request_t *, sr); /* arg.open */
 
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void

@@ -87,12 +86,11 @@
         if (rc == 0)
                 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
 
         op->create_disposition = FILE_CREATE;
 
-        DTRACE_SMB_2(op__CreateNew__start, smb_request_t *, sr,
-            struct open_param *, op);
+        DTRACE_SMB_1(op__CreateNew__start, smb_request_t *, sr); /* arg.open */
 
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void

@@ -130,12 +128,11 @@
         if (rc == 0)
                 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
 
         op->create_disposition = FILE_CREATE;
 
-        DTRACE_SMB_2(op__CreateTemporary__start, smb_request_t *, sr,
-            struct open_param *, op);
+        DTRACE_SMB_1(op__CreateTemporary__start, smb_request_t *, sr); /* arg.open */
 
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void