cifs: cFYI the entire error code in map_smb_to_linux_error
We currently only print the DOS error part. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
891cc22832
commit
56c24305d1
1 changed files with 2 additions and 2 deletions
|
@ -899,8 +899,8 @@ map_smb_to_linux_error(struct smb_hdr *smb, int logErr)
|
||||||
}
|
}
|
||||||
/* else ERRHRD class errors or junk - return EIO */
|
/* else ERRHRD class errors or junk - return EIO */
|
||||||
|
|
||||||
cFYI(1, "Mapping smb error code %d to POSIX err %d",
|
cFYI(1, "Mapping smb error code 0x%x to POSIX err %d",
|
||||||
smberrcode, rc);
|
le32_to_cpu(smb->Status.CifsError), rc);
|
||||||
|
|
||||||
/* generic corrective action e.g. reconnect SMB session on
|
/* generic corrective action e.g. reconnect SMB session on
|
||||||
* ERRbaduid could be added */
|
* ERRbaduid could be added */
|
||||||
|
|
Loading…
Add table
Reference in a new issue