diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-09-20 19:01:34 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-09-29 15:04:33 -0400 |
commit | f6acb9d0596889a774e142ed76cb05b90d9763d2 (patch) | |
tree | a6d74c288f9941bf011a68df4d1729048fd779af /fs/cifs | |
parent | a6e8a8455c94565c53e1a1756d2ab9d9e3a902b8 (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')
-rw-r--r-- | fs/cifs/cifs_fs_sb.h | 2 | ||||
-rw-r--r-- | fs/cifs/cifsglob.h | 2 | ||||
-rw-r--r-- | fs/cifs/connect.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/cifs_fs_sb.h b/fs/cifs/cifs_fs_sb.h index 7fde52969896..ba0afd3acff4 100644 --- a/fs/cifs/cifs_fs_sb.h +++ b/fs/cifs/cifs_fs_sb.h | |||
@@ -39,7 +39,7 @@ | |||
39 | #define CIFS_MOUNT_MF_SYMLINKS 0x10000 /* Minshall+French Symlinks enabled */ | 39 | #define CIFS_MOUNT_MF_SYMLINKS 0x10000 /* Minshall+French Symlinks enabled */ |
40 | 40 | ||
41 | struct cifs_sb_info { | 41 | struct cifs_sb_info { |
42 | struct cifsTconInfo *tcon; /* primary mount */ | 42 | struct cifsTconInfo *ptcon; /* primary mount */ |
43 | struct list_head nested_tcon_q; | 43 | struct list_head nested_tcon_q; |
44 | struct nls_table *local_nls; | 44 | struct nls_table *local_nls; |
45 | unsigned int rsize; | 45 | unsigned int rsize; |
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index c3510168438e..cc8300c741b6 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -416,7 +416,7 @@ CIFS_SB(struct super_block *sb) | |||
416 | static inline struct cifsTconInfo * | 416 | static inline struct cifsTconInfo * |
417 | cifs_sb_tcon(struct cifs_sb_info *cifs_sb) | 417 | cifs_sb_tcon(struct cifs_sb_info *cifs_sb) |
418 | { | 418 | { |
419 | return cifs_sb->tcon; | 419 | return cifs_sb->ptcon; |
420 | } | 420 | } |
421 | 421 | ||
422 | static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) | 422 | static inline char CIFS_DIR_SEP(const struct cifs_sb_info *cifs_sb) |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c42d37fb5b7c..b4bacea54626 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; |