]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: new nt status codes from MS-SMB2
authorShyam Prasad N <sprasad@microsoft.com>
Wed, 17 Jan 2024 06:21:33 +0000 (06:21 +0000)
committerSteve French <stfrench@microsoft.com>
Fri, 19 Jan 2024 03:01:04 +0000 (21:01 -0600)
commit7f738527a7a03021c7e1b02e188f446845f05eb6
treee1e0eb0265c1d841fb76066340763a8143fbb6fe
parent268b8b5797becb242013fcd63173eb28c007c8ae
cifs: new nt status codes from MS-SMB2

MS-SMB2 spec has introduced two new status codes,
STATUS_SERVER_UNAVAILABLE and STATUS_FILE_NOT_AVAILABLE
which are to be treated as retryable errors.

This change adds these to the available mappings and
maps them to Linux errno EAGAIN.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2maperror.c
fs/smb/client/smb2status.h