*open_rec = *state;
- if (!push_deferred_open_message_smb(req, request_time, timeout,
- state->id, open_rec)) {
- TALLOC_FREE(lck);
- exit_server("push_deferred_open_message_smb failed");
- }
if (lck) {
struct defer_open_state *watch_state;
struct tevent_req *watch_req;
timeval_sum(&request_time, &timeout));
SMB_ASSERT(ret);
}
+
+ if (!push_deferred_open_message_smb(req, request_time, timeout,
+ state->id, open_rec)) {
+ TALLOC_FREE(lck);
+ exit_server("push_deferred_open_message_smb failed");
+ }
}
static void defer_open_done(struct tevent_req *req)