aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2maperror.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-05-19 02:28:53 -0500
committerSteve French <stfrench@microsoft.com>2018-05-30 16:06:18 -0500
commitd683bcd3e5d157545af705e4807e38f8e511232c (patch)
treebc7ae0d642233759746a3c9b958e0d1f6583a146 /fs/cifs/smb2maperror.c
parentsmb3: fix various xid leaks (diff)
downloadlinux-dev-d683bcd3e5d157545af705e4807e38f8e511232c.tar.xz
linux-dev-d683bcd3e5d157545af705e4807e38f8e511232c.zip
smb3: add additional ftrace entry points for entry/exit to cifs.ko
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2maperror.c')
-rw-r--r--fs/cifs/smb2maperror.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/cifs/smb2maperror.c b/fs/cifs/smb2maperror.c
index 20185be4a93d..86f1acaa759b 100644
--- a/fs/cifs/smb2maperror.c
+++ b/fs/cifs/smb2maperror.c
@@ -2457,9 +2457,8 @@ map_smb2_to_linux_error(char *buf, bool log_err)
__le32 smb2err = shdr->Status;
if (smb2err == 0) {
- trace_smb3_cmd_done(le32_to_cpu(shdr->ProcessId), shdr->TreeId,
- shdr->SessionId, le16_to_cpu(shdr->Command),
- le64_to_cpu(shdr->MessageId));
+ trace_smb3_cmd_done(shdr->TreeId, shdr->SessionId,
+ le16_to_cpu(shdr->Command), le64_to_cpu(shdr->MessageId));
return 0;
}
@@ -2483,8 +2482,8 @@ map_smb2_to_linux_error(char *buf, bool log_err)
cifs_dbg(FYI, "Mapping SMB2 status code 0x%08x to POSIX err %d\n",
__le32_to_cpu(smb2err), rc);
- trace_smb3_cmd_err(le32_to_cpu(shdr->ProcessId), shdr->TreeId,
- shdr->SessionId, le16_to_cpu(shdr->Command),
+ trace_smb3_cmd_err(shdr->TreeId, shdr->SessionId,
+ le16_to_cpu(shdr->Command),
le64_to_cpu(shdr->MessageId), le32_to_cpu(smb2err), rc);
return rc;
}