[CIFS] remove some build warnings

Signed-off-by: Steve French <sfrench@us.ibm.com>

+5 -3
+5 -3
fs/cifs/connect.c
··· 2231 return; 2232 } 2233 2234 /* build_path_to_root returns full path to root when 2235 * we do not have an exiting connection (tcon) */ 2236 static char * ··· 2261 full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */ 2262 return full_path; 2263 } 2264 2265 int 2266 cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, ··· 2274 struct cifsTconInfo *tcon = NULL; 2275 struct TCP_Server_Info *srvTcp = NULL; 2276 char *full_path; 2277 struct dfs_info3_param *referrals = NULL; 2278 unsigned int num_referrals = 0; 2279 - 2280 - char *mount_data = mount_data_global; 2281 - 2282 try_mount_again: 2283 full_path = NULL; 2284 2285 xid = GetXid();
··· 2231 return; 2232 } 2233 2234 + #ifdef CONFIG_CIFS_DFS_UPCALL 2235 /* build_path_to_root returns full path to root when 2236 * we do not have an exiting connection (tcon) */ 2237 static char * ··· 2260 full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */ 2261 return full_path; 2262 } 2263 + #endif 2264 2265 int 2266 cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, ··· 2272 struct cifsTconInfo *tcon = NULL; 2273 struct TCP_Server_Info *srvTcp = NULL; 2274 char *full_path; 2275 + char *mount_data = mount_data_global; 2276 + #ifdef CONFIG_CIFS_DFS_UPCALL 2277 struct dfs_info3_param *referrals = NULL; 2278 unsigned int num_referrals = 0; 2279 try_mount_again: 2280 + #endif 2281 full_path = NULL; 2282 2283 xid = GetXid();