CIFS: Map SMB2 status codes to POSIX errors

Add mapping table for 32 bit SMB2 status codes to linux errors.
Note that SMB2 does not use DOS/OS2 errors (ever) so mapping to
DOS/OS2 errors as a common network subset (as we do for cifs)
doesn't help. And note that the set of status codes is much more
complete here.

Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
Steve French
2011-03-15 02:08:48 +00:00
committed by Steve French
parent b8030603d9
commit ddfbefbd39
4 changed files with 2571 additions and 1 deletions

2477
fs/cifs/smb2maperror.c Normal file

File diff suppressed because it is too large Load Diff