summaryrefslogtreecommitdiff
path: root/fs/cifs/smbdirect.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-12-18 16:30:06 +0300
committerSteve French <smfrench@gmail.com>2018-01-25 04:49:07 +0300
commit9084432c316b76f697732ac806f706a5a436aae1 (patch)
tree31361a5c24b83737c51f4dc3b3b21714a67e5c78 /fs/cifs/smbdirect.c
parent8801e902337151039a87d87789d1408c4eccc3e7 (diff)
downloadlinux-9084432c316b76f697732ac806f706a5a436aae1.tar.xz
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/smbdirect.c')
-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;