mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
s3: Remove smbd_server_fd from handle_aio_read/write_complete
This commit is contained in:
parent
bda7c70bc0
commit
c9458a756c
@ -633,7 +633,7 @@ static int handle_aio_read_complete(struct aio_extra *aio_ex, int errcode)
|
|||||||
}
|
}
|
||||||
smb_setlen(outbuf,outsize - 4);
|
smb_setlen(outbuf,outsize - 4);
|
||||||
show_msg(outbuf);
|
show_msg(outbuf);
|
||||||
if (!srv_send_smb(smbd_server_fd(),outbuf,
|
if (!srv_send_smb(aio_ex->smbreq->sconn->sock, outbuf,
|
||||||
true, aio_ex->smbreq->seqnum+1,
|
true, aio_ex->smbreq->seqnum+1,
|
||||||
IS_CONN_ENCRYPTED(aio_ex->fsp->conn), NULL)) {
|
IS_CONN_ENCRYPTED(aio_ex->fsp->conn), NULL)) {
|
||||||
exit_server_cleanly("handle_aio_read_complete: srv_send_smb "
|
exit_server_cleanly("handle_aio_read_complete: srv_send_smb "
|
||||||
@ -722,7 +722,7 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_msg(outbuf);
|
show_msg(outbuf);
|
||||||
if (!srv_send_smb(smbd_server_fd(),outbuf,
|
if (!srv_send_smb(aio_ex->smbreq->sconn->sock, outbuf,
|
||||||
true, aio_ex->smbreq->seqnum+1,
|
true, aio_ex->smbreq->seqnum+1,
|
||||||
IS_CONN_ENCRYPTED(fsp->conn),
|
IS_CONN_ENCRYPTED(fsp->conn),
|
||||||
NULL)) {
|
NULL)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user