s3:smbd: remove now unused invalidate_all_vuids()
authorStefan Metzmacher <metze@samba.org>
Sun, 3 Jun 2012 15:02:16 +0000 (17:02 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 25 Jun 2012 18:55:06 +0000 (20:55 +0200)
Pair-Programmed-With: Michael Adam <obnox@samba.org>

metze

source3/smbd/password.c
source3/smbd/proto.h

index 103403aaa9ace2a54e482b103a1085660770f650..c87f15805e7440e673bcdff0de6fe63be3a7690e 100644 (file)
@@ -118,15 +118,6 @@ void invalidate_vuid(struct smbd_server_connection *sconn, uint64_t vuid)
        TALLOC_FREE(vuser);
 }
 
-/****************************************************************************
- Invalidate all vuid entries for this process.
-****************************************************************************/
-
-void invalidate_all_vuids(struct smbd_server_connection *sconn)
-{
-       smbXsrv_session_logoff_all(sconn->conn);
-}
-
 int register_homes_share(const char *username)
 {
        int result;
index ea862713ae70425235c426c2cfd776c2960cdc40..3efbe8f44789afa0676e9c808e7dc2544581e240 100644 (file)
@@ -693,7 +693,6 @@ struct kernel_oplocks *linux_init_kernel_oplocks(struct smbd_server_connection *
 struct user_struct *get_valid_user_struct(struct smbd_server_connection *sconn,
                                          uint64_t vuid);
 void invalidate_vuid(struct smbd_server_connection *sconn, uint64_t vuid);
-void invalidate_all_vuids(struct smbd_server_connection *sconn);
 int register_homes_share(const char *username);
 
 /* The following definitions come from smbd/pipes.c  */