CIFS: SMBD: _smbd_get_connection() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 18 Dec 2017 13:30:06 +0000 (21:30 +0800)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:07 +0000 (19:49 -0600)
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>
fs/cifs/smbdirect.c

index 731577d4317f821a227f8e2010be10668750efed..f527e22650f58667cb7a665bb2ffa64076bf0e64 100644 (file)
@@ -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;