Skip to content

Commit

Permalink
CIFS: move default port definitions to cifsglob.h
Browse files Browse the repository at this point in the history
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
  • Loading branch information
Aurelien Aptel authored and Steve French committed Jun 15, 2018
1 parent cd2dca6 commit e229243
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions fs/cifs/cifsglob.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@

#define CIFS_MAGIC_NUMBER 0xFF534D42 /* the first four bytes of SMB PDUs */

#define CIFS_PORT 445
#define RFC1001_PORT 139

/*
* The sizes of various internal tables and strings
*/
Expand Down
3 changes: 0 additions & 3 deletions fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
#include "smb2proto.h"
#include "smbdirect.h"

#define CIFS_PORT 445
#define RFC1001_PORT 139

extern mempool_t *cifs_req_poolp;
extern bool disable_legacy_dialects;

Expand Down

0 comments on commit e229243

Please sign in to comment.