diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-05-19 16:22:53 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-22 22:58:26 -0400 |
commit | fcc31cb6f1ae6c4e64a463b124d3c2e9cbd7dd70 (patch) | |
tree | cf4b73bc9d8d5e71e71b76d69550a70f58fb8278 /fs/cifs/cifsproto.h | |
parent | 2c8f981d93f830c167c811f046b5107cc24b6e1b (diff) |
cifs: make cifs_send_async take a kvec array
We'll need this for async writes, so convert the call to take a kvec
array. CIFSSMBEcho is changed to put a kvec on the stack and pass
in the SMB buffer using that.
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 7aa131112884..f00aa74c2607 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -67,8 +67,8 @@ extern char *cifs_compose_mount_options(const char *sb_mountdata, | |||
67 | extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer, | 67 | extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer, |
68 | struct TCP_Server_Info *server); | 68 | struct TCP_Server_Info *server); |
69 | extern void DeleteMidQEntry(struct mid_q_entry *midEntry); | 69 | extern void DeleteMidQEntry(struct mid_q_entry *midEntry); |
70 | extern int cifs_call_async(struct TCP_Server_Info *server, | 70 | extern int cifs_call_async(struct TCP_Server_Info *server, struct kvec *iov, |
71 | struct smb_hdr *in_buf, mid_callback_t *callback, | 71 | unsigned int nvec, mid_callback_t *callback, |
72 | void *cbdata); | 72 | void *cbdata); |
73 | extern int SendReceive(const unsigned int /* xid */ , struct cifsSesInfo *, | 73 | extern int SendReceive(const unsigned int /* xid */ , struct cifsSesInfo *, |
74 | struct smb_hdr * /* input */ , | 74 | struct smb_hdr * /* input */ , |