Skip to content

Commit dec5a51

Browse files
dhowellssmfrench
authored andcommitted
cifs: SMB1 split: sess.c
Split SMB1-specific session setup stuff into smb1session.c. Signed-off-by: David Howells <dhowells@redhat.com> cc: Steve French <sfrench@samba.org> cc: Paulo Alcantara <pc@manguebit.org> cc: Enzo Matsumiya <ematsumiya@suse.de> cc: linux-cifs@vger.kernel.org cc: linux-fsdevel@vger.kernel.org cc: linux-kernel@vger.kernel.org Acked-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent b6fe923 commit dec5a51

5 files changed

Lines changed: 1003 additions & 984 deletions

File tree

fs/smb/client/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cifs-$(CONFIG_CIFS_ALLOW_INSECURE_LEGACY) += \
3939
smb1maperror.o \
4040
smb1misc.o \
4141
smb1ops.o \
42+
smb1session.o \
4243
smb1transport.o
4344

4445
cifs-$(CONFIG_CIFS_COMPRESSION) += compress.o compress/lz77.o

fs/smb/client/cifsproto.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ int decode_negTokenInit(unsigned char *security_blob, int length,
152152
struct TCP_Server_Info *server);
153153
int cifs_convert_address(struct sockaddr *dst, const char *src, int len);
154154
void cifs_set_port(struct sockaddr *addr, const unsigned short int port);
155-
int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
156-
struct TCP_Server_Info *server,
157-
const struct nls_table *nls_cp);
158155
struct timespec64 cifs_NTtimeToUnix(__le64 ntutc);
159156
u64 cifs_UnixTimeToNT(struct timespec64 t);
160157
struct timespec64 cnvrtDosUnixTm(__le16 le_date, __le16 le_time, int offset);

0 commit comments

Comments
 (0)