mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3: smbd: Make smbXsrv_client_valid_connections() external.
We will need to this ensure our client connections are terminated in close_file before exiting with outstanding aio. Followup-bugfix for: BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
f206d37f6e
commit
c7a4a7f103
@ -222,6 +222,7 @@ void smbd_notify_cancel_by_smbreq(const struct smb_request *smbreq);
|
||||
|
||||
void smbXsrv_connection_disconnect_transport(struct smbXsrv_connection *xconn,
|
||||
NTSTATUS status);
|
||||
size_t smbXsrv_client_valid_connections(struct smbXsrv_client *client);
|
||||
void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn,
|
||||
const char *reason,
|
||||
const char *location);
|
||||
|
@ -1121,7 +1121,7 @@ void smbXsrv_connection_disconnect_transport(struct smbXsrv_connection *xconn,
|
||||
DO_PROFILE_INC(disconnect);
|
||||
}
|
||||
|
||||
static size_t smbXsrv_client_valid_connections(struct smbXsrv_client *client)
|
||||
size_t smbXsrv_client_valid_connections(struct smbXsrv_client *client)
|
||||
{
|
||||
struct smbXsrv_connection *xconn = NULL;
|
||||
size_t num_ok = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user