SMBFLG2_ERR_STATUS
buffer->Flags2 |= SMBFLG2_ERR_STATUS;
pSMB->hdr.Flags2 |= SMBFLG2_ERR_STATUS;
pSMB->hdr.Flags2 |= SMBFLG2_ERR_STATUS;
smb_buffer->Flags2 |= SMBFLG2_ERR_STATUS;
if (smb->Flags2 & SMBFLG2_ERR_STATUS) {
if (smb->Flags2 & SMBFLG2_ERR_STATUS) {
if (rc == -EACCES && !(smb->Flags2 & SMBFLG2_ERR_STATUS)) {
buffer->Flags2 |= SMBFLG2_ERR_STATUS;
if (shdr->Flags2 & SMBFLG2_ERR_STATUS) {
pSMB->req.hdr.Flags2 |= SMBFLG2_ERR_STATUS;
rsp_hdr->Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS |