aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 723a3273c6bb..a17be2618473 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -112,8 +112,8 @@ extern void header_assemble(struct smb_hdr *, char /* command */ ,
112extern int small_smb_init_no_tc(const int smb_cmd, const int wct, 112extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
113 struct cifs_ses *ses, 113 struct cifs_ses *ses,
114 void **request_buf); 114 void **request_buf);
115extern int CIFS_SessSetup(unsigned int xid, struct cifs_ses *ses, 115extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
116 const struct nls_table *nls_cp); 116 const struct nls_table *nls_cp);
117extern struct timespec cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601); 117extern struct timespec cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601);
118extern u64 cifs_UnixTimeToNT(struct timespec); 118extern u64 cifs_UnixTimeToNT(struct timespec);
119extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, 119extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time,
@@ -180,8 +180,8 @@ void cifs_proc_clean(void);
180 180
181extern int cifs_negotiate_protocol(const unsigned int xid, 181extern int cifs_negotiate_protocol(const unsigned int xid,
182 struct cifs_ses *ses); 182 struct cifs_ses *ses);
183extern int cifs_setup_session(unsigned int xid, struct cifs_ses *ses, 183extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
184 struct nls_table *nls_info); 184 struct nls_table *nls_info);
185extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses); 185extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses);
186 186
187extern int CIFSTCon(unsigned int xid, struct cifs_ses *ses, 187extern int CIFSTCon(unsigned int xid, struct cifs_ses *ses,
@@ -391,7 +391,7 @@ extern int CIFSSMBPosixLock(const int xid, struct cifs_tcon *tcon,
391 const bool waitFlag); 391 const bool waitFlag);
392extern int CIFSSMBTDis(const int xid, struct cifs_tcon *tcon); 392extern int CIFSSMBTDis(const int xid, struct cifs_tcon *tcon);
393extern int CIFSSMBEcho(struct TCP_Server_Info *server); 393extern int CIFSSMBEcho(struct TCP_Server_Info *server);
394extern int CIFSSMBLogoff(const int xid, struct cifs_ses *ses); 394extern int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses);
395 395
396extern struct cifs_ses *sesInfoAlloc(void); 396extern struct cifs_ses *sesInfoAlloc(void);
397extern void sesInfoFree(struct cifs_ses *); 397extern void sesInfoFree(struct cifs_ses *);