diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-11 07:24:21 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 12:46:44 -0500 |
commit | 766fdbb57fdb1e53bc34c431103e95383d7f13ba (patch) | |
tree | 9e681dc6513441017603f90f45b9ffcdb5640719 /fs/cifs/cifsproto.h | |
parent | a6827c184ea9f5452e4aaa7c799dd3c7cc9ba05e (diff) |
cifs: add ability to send an echo request
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 7f2988bb8929..982895fa7615 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -63,6 +63,7 @@ extern char *cifs_compose_mount_options(const char *sb_mountdata, | |||
63 | /* extern void renew_parental_timestamps(struct dentry *direntry);*/ | 63 | /* extern void renew_parental_timestamps(struct dentry *direntry);*/ |
64 | extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer, | 64 | extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer, |
65 | struct TCP_Server_Info *server); | 65 | struct TCP_Server_Info *server); |
66 | extern void DeleteMidQEntry(struct mid_q_entry *midEntry); | ||
66 | extern int cifs_call_async(struct TCP_Server_Info *server, | 67 | extern int cifs_call_async(struct TCP_Server_Info *server, |
67 | struct smb_hdr *in_buf, mid_callback_t *callback, | 68 | struct smb_hdr *in_buf, mid_callback_t *callback, |
68 | void *cbdata); | 69 | void *cbdata); |
@@ -358,6 +359,7 @@ extern int CIFSSMBPosixLock(const int xid, struct cifsTconInfo *tcon, | |||
358 | const __u64 len, struct file_lock *, | 359 | const __u64 len, struct file_lock *, |
359 | const __u16 lock_type, const bool waitFlag); | 360 | const __u16 lock_type, const bool waitFlag); |
360 | extern int CIFSSMBTDis(const int xid, struct cifsTconInfo *tcon); | 361 | extern int CIFSSMBTDis(const int xid, struct cifsTconInfo *tcon); |
362 | extern int CIFSSMBEcho(struct TCP_Server_Info *server); | ||
361 | extern int CIFSSMBLogoff(const int xid, struct cifsSesInfo *ses); | 363 | extern int CIFSSMBLogoff(const int xid, struct cifsSesInfo *ses); |
362 | 364 | ||
363 | extern struct cifsSesInfo *sesInfoAlloc(void); | 365 | extern struct cifsSesInfo *sesInfoAlloc(void); |