diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-27 12:21:53 -0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 13:55:01 -0400 |
commit | b669f33ca61738171aecc5ae90d776d91b122eb8 (patch) | |
tree | 71b83c4f7155b2297f6b00bbe41c89e572d1b9fe /fs/cifs/cifsglob.h | |
parent | aa24d1e9692411e605084938ced6b160f92df454 (diff) |
CIFS: Move getting dfs referalls to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index ef4e0a0bc82..2d80d82f41d 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -162,6 +162,7 @@ struct TCP_Server_Info; | |||
162 | struct cifsFileInfo; | 162 | struct cifsFileInfo; |
163 | struct cifs_ses; | 163 | struct cifs_ses; |
164 | struct cifs_tcon; | 164 | struct cifs_tcon; |
165 | struct dfs_info3_param; | ||
165 | 166 | ||
166 | struct smb_version_operations { | 167 | struct smb_version_operations { |
167 | int (*send_cancel)(struct TCP_Server_Info *, void *, | 168 | int (*send_cancel)(struct TCP_Server_Info *, void *, |
@@ -208,6 +209,10 @@ struct smb_version_operations { | |||
208 | struct cifs_tcon *, const struct nls_table *); | 209 | struct cifs_tcon *, const struct nls_table *); |
209 | /* close tree connecion */ | 210 | /* close tree connecion */ |
210 | int (*tree_disconnect)(const unsigned int, struct cifs_tcon *); | 211 | int (*tree_disconnect)(const unsigned int, struct cifs_tcon *); |
212 | /* get DFS referrals */ | ||
213 | int (*get_dfs_refer)(const unsigned int, struct cifs_ses *, | ||
214 | const char *, struct dfs_info3_param **, | ||
215 | unsigned int *, const struct nls_table *, int); | ||
211 | }; | 216 | }; |
212 | 217 | ||
213 | struct smb_version_values { | 218 | struct smb_version_values { |