diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-09-23 10:06:18 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-09-24 06:49:05 +0300 |
commit | 388962e8e9ce8b253e91cbaed94e78a07dc92d84 (patch) | |
tree | bf06df50fd5f5ddd1440370cbeed3daaaad434d8 /fs/cifs/smb2pdu.c | |
parent | d2f15428d6a0ebfc0edc364094d7c4a2de7037ed (diff) | |
download | linux-388962e8e9ce8b253e91cbaed94e78a07dc92d84.tar.xz |
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/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
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) |