diff options
author | Steve French <sfrench@us.ibm.com> | 2006-10-12 13:49:24 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-10-12 13:49:24 -0400 |
commit | d103e164bee2f21d0efe7d713cbbb0a443ba480d (patch) | |
tree | 88e1d33b0a247535b181ac5bbb65514a6cc63bd0 /fs/cifs/cifsproto.h | |
parent | 230a03950ecd63bc613c6adeffbe9049189d9f05 (diff) |
[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 4a4fd2dbca63..f1f8225102f0 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -55,7 +55,7 @@ extern int SendReceiveBlockingLock(const unsigned int /* xid */ , | |||
55 | struct smb_hdr * /* input */ , | 55 | struct smb_hdr * /* input */ , |
56 | struct smb_hdr * /* out */ , | 56 | struct smb_hdr * /* out */ , |
57 | int * /* bytes returned */); | 57 | int * /* bytes returned */); |
58 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); | 58 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length); |
59 | extern int is_valid_oplock_break(struct smb_hdr *smb, struct TCP_Server_Info *); | 59 | extern int is_valid_oplock_break(struct smb_hdr *smb, struct TCP_Server_Info *); |
60 | extern int is_size_safe_to_change(struct cifsInodeInfo *); | 60 | extern int is_size_safe_to_change(struct cifsInodeInfo *); |
61 | extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *); | 61 | extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *); |