diff options
author | Steve French <sfrench@us.ibm.com> | 2006-03-03 10:43:49 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-03-03 10:43:49 +0000 |
commit | d7c8c94d3e4c1cab7feedbb34297caa5babe1a7f (patch) | |
tree | 33bb6afe2e239e83a7092eded715597a34efa206 /fs/cifs/cifsproto.h | |
parent | 083d3a2cff514c5301f3a043642940d4d5371b22 (diff) | |
download | op-kernel-dev-d7c8c94d3e4c1cab7feedbb34297caa5babe1a7f.zip op-kernel-dev-d7c8c94d3e4c1cab7feedbb34297caa5babe1a7f.tar.gz |
[CIFS] Fix slow oplock break response when mounts to different
servers have same tid and we try to match oplock break to wrong tid.
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 b866e3a..2879ba3 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -52,7 +52,7 @@ extern int SendReceive2(const unsigned int /* xid */ , struct cifsSesInfo *, int * /* type of buf returned */ , const int long_op); extern int checkSMBhdr(struct smb_hdr *smb, __u16 mid); extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); -extern int is_valid_oplock_break(struct smb_hdr *smb); +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 *); extern unsigned int smbCalcSize(struct smb_hdr *ptr); |