Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213406
b: refs/heads/master
c: f6acb9d
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Sep 29, 2010
1 parent 795ca5d commit d4a698c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: a6e8a8455c94565c53e1a1756d2ab9d9e3a902b8
refs/heads/master: f6acb9d0596889a774e142ed76cb05b90d9763d2
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifs_fs_sb.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#define CIFS_MOUNT_MF_SYMLINKS 0x10000 /* Minshall+French Symlinks enabled */

struct cifs_sb_info {
struct cifsTconInfo *tcon; /* primary mount */
struct cifsTconInfo *ptcon; /* primary mount */
struct list_head nested_tcon_q;
struct nls_table *local_nls;
unsigned int rsize;
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifsglob.h
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ CIFS_SB(struct super_block *sb)
static inline struct cifsTconInfo *
cifs_sb_tcon(struct cifs_sb_info *cifs_sb)
{
return cifs_sb->tcon;
return cifs_sb->ptcon;
}

static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb)
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -2727,7 +2727,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
goto remote_path_check;
}

cifs_sb->tcon = tcon;
cifs_sb->ptcon = tcon;

/* do not care if following two calls succeed - informational */
if (!tcon->ipc) {
Expand Down Expand Up @@ -3029,7 +3029,7 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb)
if (cifs_sb_tcon(cifs_sb))
cifs_put_tcon(cifs_sb_tcon(cifs_sb));

cifs_sb->tcon = NULL;
cifs_sb->ptcon = NULL;
tmp = cifs_sb->prepath;
cifs_sb->prepathlen = 0;
cifs_sb->prepath = NULL;
Expand Down

0 comments on commit d4a698c

Please sign in to comment.