projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
366ed84
)
CIFS: Display SMB2 error codes in the hex format
author
Pavel Shilovsky
<pshilov@microsoft.com>
Sat, 8 Jul 2017 21:17:37 +0000
(14:17 -0700)
committer
Steve French
<smfrench@gmail.com>
Sat, 8 Jul 2017 22:23:10 +0000
(17:23 -0500)
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2maperror.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/smb2maperror.c
b/fs/cifs/smb2maperror.c
index 3030a9dfb0ddcca131334217797bc96d0e2e3402..7ca9808a0daa01bfb149690964bbd165d9c6af20 100644
(file)
--- a/
fs/cifs/smb2maperror.c
+++ b/
fs/cifs/smb2maperror.c
@@
-2475,8
+2475,8
@@
map_smb2_to_linux_error(char *buf, bool log_err)
/* on error mapping not found - return EIO */
- cifs_dbg(FYI, "Mapping SMB2 status code
%d
to POSIX err %d\n",
-
smb2err
, rc);
+ cifs_dbg(FYI, "Mapping SMB2 status code
0x%08x
to POSIX err %d\n",
+
__le32_to_cpu(smb2err)
, rc);
return rc;
}