summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-12-18 21:30:06 +0800
committerSteve French <smfrench@gmail.com>2018-01-24 19:49:07 -0600
commit9084432c316b76f697732ac806f706a5a436aae1 (patch)
tree31361a5c24b83737c51f4dc3b3b21714a67e5c78 /fs/cifs
parent8801e902337151039a87d87789d1408c4eccc3e7 (diff)
CIFS: SMBD: _smbd_get_connection() can be static
Fixes: 07495ff5d9bc ("CIFS: SMBD: Establish SMB Direct connection") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Steve French <smfrench@gmail.com> Acked-by: Long Li <longli@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/smbdirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
index 731577d4317f..f527e22650f5 100644
--- a/fs/cifs/smbdirect.c
+++ b/fs/cifs/smbdirect.c
@@ -1599,7 +1599,7 @@ out1:
}
/* Create a SMBD connection, called by upper layer */
-struct smbd_connection *_smbd_get_connection(
+static struct smbd_connection *_smbd_get_connection(
struct TCP_Server_Info *server, struct sockaddr *dstaddr, int port)
{
int rc;