summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-22 13:23:13 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-25 20:55:06 +0200
commit77d1173aa2a74644ced83cd37ceb3481530670e6 (patch)
tree57672665d2aa440f0dd895158bb0bc3edebd5fb2 /source3
parentd693ff54dbb3fa7ab44034775de1609f419ac879 (diff)
downloadsamba-77d1173aa2a74644ced83cd37ceb3481530670e6.tar.gz
samba-77d1173aa2a74644ced83cd37ceb3481530670e6.tar.bz2
samba-77d1173aa2a74644ced83cd37ceb3481530670e6.zip
s3:smbd: remove now unused conn_close_all()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/conn_idle.c15
-rw-r--r--source3/smbd/proto.h1
2 files changed, 0 insertions, 16 deletions
diff --git a/source3/smbd/conn_idle.c b/source3/smbd/conn_idle.c
index fd3bf9d9d6..23dcc8988a 100644
--- a/source3/smbd/conn_idle.c
+++ b/source3/smbd/conn_idle.c
@@ -81,21 +81,6 @@ bool conn_idle_all(struct smbd_server_connection *sconn, time_t t)
}
/****************************************************************************
- Close all conn structures.
- Return true if any were closed.
-****************************************************************************/
-
-void conn_close_all(struct smbd_server_connection *sconn)
-{
- if (sconn->using_smb2) {
- smbXsrv_session_logoff_all(sconn->conn);
- } else {
- smb1srv_tcon_disconnect_all(sconn->conn);
- }
-}
-
-
-/****************************************************************************
Forcibly unmount a share.
All instances of the parameter 'sharename' share are unmounted.
The special sharename '*' forces unmount of all shares.
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index fc670aba8e..ea862713ae 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -146,7 +146,6 @@ NTSTATUS delete_all_streams(connection_struct *conn, const char *fname);
int conn_num_open(struct smbd_server_connection *sconn);
bool conn_snum_used(struct smbd_server_connection *sconn, int snum);
connection_struct *conn_new(struct smbd_server_connection *sconn);
-void conn_close_all(struct smbd_server_connection *sconn);
bool conn_idle_all(struct smbd_server_connection *sconn, time_t t);
void conn_clear_vuid_caches(struct smbd_server_connection *sconn, uint64_t vuid);
void conn_free(connection_struct *conn);