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

*** 70,81 **** &dst_fqi->fq_path.pn_path); dst_fqi->fq_sattr = 0; } ! DTRACE_SMB_2(op__Rename__start, smb_request_t *, sr, ! struct dirop *, &sr->arg.dirop); return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); } void --- 70,80 ---- &dst_fqi->fq_path.pn_path); dst_fqi->fq_sattr = 0; } ! DTRACE_SMB_1(op__Rename__start, smb_request_t *, sr); /* arg.dirop */ return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); } void
*** 144,155 **** &src_fqi->fq_path.pn_path, &dst_fqi->fq_path.pn_path); dst_fqi->fq_sattr = 0; } ! DTRACE_SMB_2(op__NtRename__start, smb_request_t *, sr, ! struct dirop *, &sr->arg.dirop); return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); } void --- 143,153 ---- &src_fqi->fq_path.pn_path, &dst_fqi->fq_path.pn_path); dst_fqi->fq_sattr = 0; } ! DTRACE_SMB_1(op__NtRename__start, smb_request_t *, sr); /* arg.dirop */ return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); } void