提交 0e629048 编写于 作者: S Steve French

smb3: remove trivial dfs compile warning

Fix warning caused by recent changes to the dfs code:

symbol 'tree_connect_dfs_target' was not declared. Should it be static?
Reviewed-by: NPaulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: NSteve French <stfrench@microsoft.com>
上级 c88f7dcd
......@@ -4139,7 +4139,7 @@ static int target_share_matches_server(struct TCP_Server_Info *server, const cha
return rc;
}
int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
static int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb, char *tree,
struct dfs_cache_tgt_list *tl, struct dfs_info3_param *ref)
{
......@@ -4238,7 +4238,7 @@ int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
return rc;
}
int tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
static int tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb, char *tree,
struct dfs_cache_tgt_list *tl, struct dfs_info3_param *ref)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册