diff options
Diffstat (limited to 'fs/cifs/netmisc.c')
-rw-r--r-- | fs/cifs/netmisc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c index 73e47e84b61a..dd23a321bdda 100644 --- a/fs/cifs/netmisc.c +++ b/fs/cifs/netmisc.c | |||
@@ -836,8 +836,9 @@ ntstatus_to_dos(__u32 ntstatus, __u8 *eclass, __u16 *ecode) | |||
836 | } | 836 | } |
837 | 837 | ||
838 | int | 838 | int |
839 | map_smb_to_linux_error(struct smb_hdr *smb, bool logErr) | 839 | map_smb_to_linux_error(char *buf, bool logErr) |
840 | { | 840 | { |
841 | struct smb_hdr *smb = (struct smb_hdr *)buf; | ||
841 | unsigned int i; | 842 | unsigned int i; |
842 | int rc = -EIO; /* if transport error smb error may not be set */ | 843 | int rc = -EIO; /* if transport error smb error may not be set */ |
843 | __u8 smberrclass; | 844 | __u8 smberrclass; |