summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French2006-03-03 11:43:49 +0100
committerSteve French2006-03-03 11:43:49 +0100
commitd7c8c94d3e4c1cab7feedbb34297caa5babe1a7f (patch)
tree33bb6afe2e239e83a7092eded715597a34efa206 /fs/cifs/connect.c
parent[CIFS] Workaround various server bugs found in testing at connectathon (diff)
downloadkernel-qcow2-linux-d7c8c94d3e4c1cab7feedbb34297caa5babe1a7f.tar.gz
kernel-qcow2-linux-d7c8c94d3e4c1cab7feedbb34297caa5babe1a7f.tar.xz
kernel-qcow2-linux-d7c8c94d3e4c1cab7feedbb34297caa5babe1a7f.zip
[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/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 3651deca4f24..0b86d5ca9014 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -630,7 +630,7 @@ multi_t2_fnd:
smallbuf = NULL;
}
wake_up_process(task_to_wake);
- } else if ((is_valid_oplock_break(smb_buffer) == FALSE)
+ } else if ((is_valid_oplock_break(smb_buffer, server) == FALSE)
&& (isMultiRsp == FALSE)) {
cERROR(1, ("No task to wake, unknown frame rcvd!"));
cifs_dump_mem("Received Data is: ",(char *)smb_buffer,