diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-11 07:24:25 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-14 18:51:11 +0000 |
commit | 56c24305d1494a7e345c75669dc60e8b231b735b (patch) | |
tree | d7a39b2743b9ec2dc1434c5b2ee04ef9f04248d5 /fs/cifs/netmisc.c | |
parent | 891cc2283216bf76f387546f0e220caf8ce9fbf9 (diff) | |
download | kernel_goldelico_gta04-56c24305d1494a7e345c75669dc60e8b231b735b.zip kernel_goldelico_gta04-56c24305d1494a7e345c75669dc60e8b231b735b.tar.gz kernel_goldelico_gta04-56c24305d1494a7e345c75669dc60e8b231b735b.tar.bz2 |
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>
Diffstat (limited to 'fs/cifs/netmisc.c')
-rw-r--r-- | fs/cifs/netmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c index 9aad47a..6783ce6 100644 --- a/fs/cifs/netmisc.c +++ b/fs/cifs/netmisc.c @@ -899,8 +899,8 @@ map_smb_to_linux_error(struct smb_hdr *smb, int logErr) } /* else ERRHRD class errors or junk - return EIO */ - cFYI(1, "Mapping smb error code %d to POSIX err %d", - smberrcode, rc); + cFYI(1, "Mapping smb error code 0x%x to POSIX err %d", + le32_to_cpu(smb->Status.CifsError), rc); /* generic corrective action e.g. reconnect SMB session on * ERRbaduid could be added */ |