Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event...
[samba.git] / source3 / smbd / smb2_server.c
index e36db1e55f5e3ce12b888927aac053e45e27e3e1..1e9ed331aa6a41b93d79795587bc309afe221e61 100644 (file)
@@ -2620,10 +2620,8 @@ NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req)
                SMB_ASSERT(call->fileid_ofs == 0);
                /* This call needs to be run as root */
                change_to_root_user();
-               req->ev_ctx = req->sconn->root_ev_ctx;
        } else {
                SMB_ASSERT(call->need_tcon);
-               req->ev_ctx = req->tcon->compat->user_ev_ctx;
        }
 
 #define _INBYTES(_r) \