FreeBSD/sys/netsmb/smb_conn.c
/*
 * Destroy VC to server, invalidate shares linked with it.
 * Transport should be locked on entry.
 */
Destroy VC to server, invalidate shares linked with it.
Transport should be locked on entry.
Destroy VC to server invalidate shares linked with it . Transport should be locked on entry .
int
smb_vc_disconnect(struct smb_vc *vcp)
{
	if (vcp->vc_iod != NULL)
		smb_iod_request(vcp->vc_iod, SMBIOD_EV_DISCONNECT |
		    SMBIOD_EV_SYNC, NULL);
	return 0;
}
int smb_vc_disconnect ( struct smb_vc * vcp ) { if ( vcp -> vc_iod != NULL ) smb_iod_request ( vcp -> vc_iod , SMBIOD_EV_DISCONNECT | SMBIOD_EV_SYNC , NULL ) ; return 0 ; }
Destroy VC to server, invalidate shares linked with it.
Destroy VC to server invalidate shares linked with it .