summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2018-06-14 15:43:16 +0200
committerSteve French <stfrench@microsoft.com>2018-06-15 02:38:08 -0500
commite2292430c49dbbe2d54438a4c05dd937a8eeecdd (patch)
treeb9ad95c37c51cb5eb4fcca3d97319ed0c94d4162 /fs
parentcd2dca60be6f4742b63373fd7e4b445c8a634e51 (diff)
downloadlinux-e2292430c49dbbe2d54438a4c05dd937a8eeecdd.tar.bz2
CIFS: move default port definitions to cifsglob.h
Signed-off-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsglob.h3
-rw-r--r--fs/cifs/connect.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index ff71fbd619bf..ff280447dae5 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -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
*/
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 267c6f70cf98..a57da1b88bdf 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -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;