Skip to content

Commit ddfbefb

Browse files
Steve Frenchsmfrench
authored andcommitted
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>
1 parent b803060 commit ddfbefb

4 files changed

Lines changed: 2571 additions & 1 deletion

File tree

‎fs/cifs/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o
1616

1717
cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
1818

19-
cifs-$(CONFIG_CIFS_SMB2) += smb2ops.o
19+
cifs-$(CONFIG_CIFS_SMB2) += smb2ops.o smb2maperror.o

0 commit comments

Comments
 (0)