CIFS: Map SMB2 status codes to POSIX errors
authorSteve French <sfrench@us.ibm.com>
Tue, 15 Mar 2011 02:08:48 +0000 (02:08 +0000)
committerSteve French <smfrench@gmail.com>
Tue, 24 Jul 2012 15:25:15 +0000 (10:25 -0500)
commitddfbefbd393fb1a935bdf27cba5ad2eb24a76e75
tree11f84bfc5c091ae63991c3627874de3ab5bc9ea7
parentb8030603d94a231c7fdee4c1ac369537f1fb8fb0
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>
fs/cifs/Makefile
fs/cifs/smb2maperror.c [new file with mode: 0644]
fs/cifs/smb2pdu.h [new file with mode: 0644]
fs/cifs/smb2proto.h [new file with mode: 0644]