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/cifsproto.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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 61baaa3330fb..4857965b22db 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -226,17 +226,16 @@ extern int CIFSSMBUnixQPathInfo(const unsigned int xid, | |||
226 | const struct nls_table *nls_codepage, int remap); | 226 | const struct nls_table *nls_codepage, int remap); |
227 | 227 | ||
228 | extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, | 228 | extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, |
229 | const unsigned char *searchName, | 229 | const char *search_name, |
230 | struct dfs_info3_param **target_nodes, | 230 | struct dfs_info3_param **target_nodes, |
231 | unsigned int *number_of_nodes_in_array, | 231 | unsigned int *num_of_nodes, |
232 | const struct nls_table *nls_codepage, int remap); | 232 | const struct nls_table *nls_codepage, int remap); |
233 | 233 | ||
234 | extern int get_dfs_path(unsigned int xid, struct cifs_ses *pSesInfo, | 234 | extern int get_dfs_path(const unsigned int xid, struct cifs_ses *ses, |
235 | const char *old_path, | 235 | const char *old_path, |
236 | const struct nls_table *nls_codepage, | 236 | const struct nls_table *nls_codepage, |
237 | unsigned int *pnum_referrals, | 237 | unsigned int *num_referrals, |
238 | struct dfs_info3_param **preferrals, | 238 | struct dfs_info3_param **referrals, int remap); |
239 | int remap); | ||
240 | extern void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, | 239 | extern void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, |
241 | struct cifs_sb_info *cifs_sb, | 240 | struct cifs_sb_info *cifs_sb, |
242 | struct smb_vol *vol); | 241 | struct smb_vol *vol); |