aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-09-20 19:01:34 -0400
committerSteve French <sfrench@us.ibm.com>2010-09-29 15:04:33 -0400
commitf6acb9d0596889a774e142ed76cb05b90d9763d2 (patch)
treea6d74c288f9941bf011a68df4d1729048fd779af /fs/cifs/connect.c
parenta6e8a8455c94565c53e1a1756d2ab9d9e3a902b8 (diff)
cifs: temporarily rename cifs_sb->tcon to ptcon to catch stragglers
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index c42d37fb5b7..b4bacea5462 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -2727,7 +2727,7 @@ try_mount_again:
2727 goto remote_path_check; 2727 goto remote_path_check;
2728 } 2728 }
2729 2729
2730 cifs_sb->tcon = tcon; 2730 cifs_sb->ptcon = tcon;
2731 2731
2732 /* do not care if following two calls succeed - informational */ 2732 /* do not care if following two calls succeed - informational */
2733 if (!tcon->ipc) { 2733 if (!tcon->ipc) {
@@ -3029,7 +3029,7 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb)
3029 if (cifs_sb_tcon(cifs_sb)) 3029 if (cifs_sb_tcon(cifs_sb))
3030 cifs_put_tcon(cifs_sb_tcon(cifs_sb)); 3030 cifs_put_tcon(cifs_sb_tcon(cifs_sb));
3031 3031
3032 cifs_sb->tcon = NULL; 3032 cifs_sb->ptcon = NULL;
3033 tmp = cifs_sb->prepath; 3033 tmp = cifs_sb->prepath;
3034 cifs_sb->prepathlen = 0; 3034 cifs_sb->prepathlen = 0;
3035 cifs_sb->prepath = NULL; 3035 cifs_sb->prepath = NULL;