summaryrefslogtreecommitdiffstats
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
authorSteve French2018-10-24 04:04:57 +0200
committerSteve French2018-10-24 14:22:02 +0200
commit43de1db36424fd21bbcfbe11a018f25c1566f246 (patch)
tree0bfe149021b4cd2dcb1be86f674e94989d2d29b9 /fs/cifs/transport.c
parentcifs: allow calling SMB2_xxx_free(NULL) (diff)
downloadkernel-qcow2-linux-43de1db36424fd21bbcfbe11a018f25c1566f246.tar.gz
kernel-qcow2-linux-43de1db36424fd21bbcfbe11a018f25c1566f246.tar.xz
kernel-qcow2-linux-43de1db36424fd21bbcfbe11a018f25c1566f246.zip
smb3: add debug for unexpected mid cancellation
We have hit this intermittently, increase the verbosity of warning message on unexpected mid cancellation. Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r--fs/cifs/transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index fd80749c7838..f8112433f0c8 100644
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -876,8 +876,8 @@ compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
for (i = 0; i < num_rqst; i++) {
rc = wait_for_response(ses->server, midQ[i]);
if (rc != 0) {
- cifs_dbg(FYI, "Cancelling wait for mid %llu\n",
- midQ[i]->mid);
+ cifs_dbg(VFS, "Cancelling wait for mid %llu cmd: %d\n",
+ midQ[i]->mid, le16_to_cpu(midQ[i]->command));
send_cancel(ses->server, &rqst[i], midQ[i]);
spin_lock(&GlobalMid_Lock);
if (midQ[i]->mid_state == MID_REQUEST_SUBMITTED) {