summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorPavel Shilovsky2012-05-27 18:21:53 +0200
committerPavel Shilovsky2012-07-24 19:55:01 +0200
commitb669f33ca61738171aecc5ae90d776d91b122eb8 (patch)
tree71b83c4f7155b2297f6b00bbe41c89e572d1b9fe /fs/cifs/cifsproto.h
parentCIFS: Process reconnects for SMB2 shares (diff)
downloadkernel-qcow2-linux-b669f33ca61738171aecc5ae90d776d91b122eb8.tar.gz
kernel-qcow2-linux-b669f33ca61738171aecc5ae90d776d91b122eb8.tar.xz
kernel-qcow2-linux-b669f33ca61738171aecc5ae90d776d91b122eb8.zip
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.h15
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,
const struct nls_table *nls_codepage, int remap);
extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses,
- const unsigned char *searchName,
- struct dfs_info3_param **target_nodes,
- unsigned int *number_of_nodes_in_array,
- const struct nls_table *nls_codepage, int remap);
+ const char *search_name,
+ struct dfs_info3_param **target_nodes,
+ unsigned int *num_of_nodes,
+ const struct nls_table *nls_codepage, int remap);
-extern int get_dfs_path(unsigned int xid, struct cifs_ses *pSesInfo,
+extern int get_dfs_path(const unsigned int xid, struct cifs_ses *ses,
const char *old_path,
const struct nls_table *nls_codepage,
- unsigned int *pnum_referrals,
- struct dfs_info3_param **preferrals,
- int remap);
+ unsigned int *num_referrals,
+ struct dfs_info3_param **referrals, int remap);
extern void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb,
struct smb_vol *vol);