summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-09-23 09:06:18 +0200
committerSteve French <stfrench@microsoft.com>2019-09-24 05:49:05 +0200
commit388962e8e9ce8b253e91cbaed94e78a07dc92d84 (patch)
treebf06df50fd5f5ddd1440370cbeed3daaaad434d8 /fs
parentsmb3: fix leak in "open on server" perf counter (diff)
downloadlinux-388962e8e9ce8b253e91cbaed94e78a07dc92d84.tar.xz
linux-388962e8e9ce8b253e91cbaed94e78a07dc92d84.zip
fs/cifs/smb2pdu.c: Make SMB2_notify_init static
Fix sparse warnings: fs/cifs/smb2pdu.c:3200:1: warning: symbol 'SMB2_notify_init' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/smb2pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 5f2491efd950..ea08e6159481 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -3181,7 +3181,7 @@ SMB2_get_srv_num(const unsigned int xid, struct cifs_tcon *tcon,
* See MS-SMB2 2.2.35 and 2.2.36
*/
-int
+static int
SMB2_notify_init(const unsigned int xid, struct smb_rqst *rqst,
struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid,
u32 completion_filter, bool watch_tree)