Skip to content

Commit 0e62904

Browse files
committed
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: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent c88f7dc commit 0e62904

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/cifs/connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4139,7 +4139,7 @@ static int target_share_matches_server(struct TCP_Server_Info *server, const cha
41394139
return rc;
41404140
}
41414141

4142-
int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
4142+
static int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
41434143
struct cifs_sb_info *cifs_sb, char *tree,
41444144
struct dfs_cache_tgt_list *tl, struct dfs_info3_param *ref)
41454145
{
@@ -4238,7 +4238,7 @@ int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
42384238
return rc;
42394239
}
42404240

4241-
int tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
4241+
static int tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon,
42424242
struct cifs_sb_info *cifs_sb, char *tree,
42434243
struct dfs_cache_tgt_list *tl, struct dfs_info3_param *ref)
42444244
{

0 commit comments

Comments
 (0)