diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-03-23 19:28:03 +0100 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 19:28:03 +0100 |
commit | 5ffef7bf1dd582e93b15f8cc735328a556a1d2c4 (patch) | |
tree | 0ef4517dfd3b1e9ded2afda62987d1c784f54769 /fs/cifs/netmisc.c | |
parent | CIFS: Separate protocol-specific code from demultiplex code (diff) | |
download | linux-5ffef7bf1dd582e93b15f8cc735328a556a1d2c4.tar.xz linux-5ffef7bf1dd582e93b15f8cc735328a556a1d2c4.zip |
CIFS: Separate protocol-specific code from cifs_readv_receive code
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
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) } int -map_smb_to_linux_error(struct smb_hdr *smb, bool logErr) +map_smb_to_linux_error(char *buf, bool logErr) { + struct smb_hdr *smb = (struct smb_hdr *)buf; unsigned int i; int rc = -EIO; /* if transport error smb error may not be set */ __u8 smberrclass; |