diff options
author | Steve French <sfrench@us.ibm.com> | 2006-10-12 17:49:24 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-10-12 17:49:24 +0000 |
commit | d103e164bee2f21d0efe7d713cbbb0a443ba480d (patch) | |
tree | 88e1d33b0a247535b181ac5bbb65514a6cc63bd0 /fs/cifs/cifsproto.h | |
parent | 230a03950ecd63bc613c6adeffbe9049189d9f05 (diff) | |
download | linux-3.10-d103e164bee2f21d0efe7d713cbbb0a443ba480d.tar.gz linux-3.10-d103e164bee2f21d0efe7d713cbbb0a443ba480d.tar.bz2 linux-3.10-d103e164bee2f21d0efe7d713cbbb0a443ba480d.zip |
[CIFS] Workaround incomplete byte length returned by some
servers on small SMB responses
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, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 4a4fd2dbca6..f1f8225102f 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -55,7 +55,7 @@ extern int SendReceiveBlockingLock(const unsigned int /* xid */ , struct smb_hdr * /* input */ , struct smb_hdr * /* out */ , int * /* bytes returned */); -extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); +extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length); extern int is_valid_oplock_break(struct smb_hdr *smb, struct TCP_Server_Info *); extern int is_size_safe_to_change(struct cifsInodeInfo *); extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *); |