Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143693
b: refs/heads/master
c: 2d6d589
h: refs/heads/master
i:
  143691: 5ad143c
v: v3
  • Loading branch information
Steve French committed Apr 17, 2009
1 parent 4750b9f commit e1153a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbec9ab952d4810960e620035c8e95f0fbbae4be
refs/heads/master: 2d6d589d8009b37ae03244059c93e0e8cf46910e
8 changes: 5 additions & 3 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -2231,6 +2231,7 @@ cleanup_volume_info(struct smb_vol **pvolume_info)
return;
}

#ifdef CONFIG_CIFS_DFS_UPCALL
/* build_path_to_root returns full path to root when
* we do not have an exiting connection (tcon) */
static char *
Expand Down Expand Up @@ -2260,6 +2261,7 @@ build_unc_path_to_root(const struct smb_vol *volume_info,
full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */
return full_path;
}
#endif

int
cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
Expand All @@ -2272,12 +2274,12 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
struct cifsTconInfo *tcon = NULL;
struct TCP_Server_Info *srvTcp = NULL;
char *full_path;
char *mount_data = mount_data_global;
#ifdef CONFIG_CIFS_DFS_UPCALL
struct dfs_info3_param *referrals = NULL;
unsigned int num_referrals = 0;

char *mount_data = mount_data_global;

try_mount_again:
#endif
full_path = NULL;

xid = GetXid();
Expand Down

0 comments on commit e1153a1

Please sign in to comment.