diff options
author | Steve French <stfrench@microsoft.com> | 2018-05-19 09:28:53 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-05-30 23:06:18 +0200 |
commit | d683bcd3e5d157545af705e4807e38f8e511232c (patch) | |
tree | bc7ae0d642233759746a3c9b958e0d1f6583a146 /fs/cifs/smb2maperror.c | |
parent | smb3: fix various xid leaks (diff) | |
download | linux-d683bcd3e5d157545af705e4807e38f8e511232c.tar.xz linux-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.c | 9 |
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; } |