CIFS: Separate protocol-specific code from cifs_readv_receive code
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
This commit is contained in:
parent
d4e4854fd1
commit
5ffef7bf1d
5 changed files with 53 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue