diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-12-26 22:53:34 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-07-24 10:25:20 -0500 |
commit | 2dc7e1c03316940dec899fa3206a595de000e99b (patch) | |
tree | c74127806717b23e226b3ee81135d091d859bd7a /fs/cifs/smb2proto.h | |
parent | ddfbefbd393fb1a935bdf27cba5ad2eb24a76e75 (diff) | |
download | linux-3.10-2dc7e1c03316940dec899fa3206a595de000e99b.tar.gz linux-3.10-2dc7e1c03316940dec899fa3206a595de000e99b.tar.bz2 linux-3.10-2dc7e1c03316940dec899fa3206a595de000e99b.zip |
CIFS: Make transport routines work with SMB2
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 08249eecdf6..0e59afb5edf 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -34,4 +34,9 @@ struct statfs; */ extern int map_smb2_to_linux_error(char *buf, bool log_err); +extern int smb2_check_receive(struct mid_q_entry *mid, + struct TCP_Server_Info *server, bool log_error); +extern int smb2_setup_request(struct cifs_ses *ses, struct kvec *iov, + unsigned int nvec, struct mid_q_entry **ret_mid); + #endif /* _SMB2PROTO_H */ |