diff options
| author | Huiwen He <hehuiwen@kylinos.cn> | 2026-01-21 14:49:01 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-09 06:24:41 +0300 |
| commit | 7982ddb7af9b44149226df2a89aa22c5f92583f3 (patch) | |
| tree | 7fa1fbe56b7f81a3c55ed486c5fc816ad1046924 | |
| parent | 563318fa6dccb0dcbaa7bb36d0e30a3e67b61b68 (diff) | |
| download | linux-7982ddb7af9b44149226df2a89aa22c5f92583f3.tar.xz | |
smb/client: add NT_STATUS_VOLUME_DISMOUNTED
See MS-ERREf 2.3.1 STATUS_VOLUME_DISMOUNTED.
Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
| -rw-r--r-- | fs/smb/client/nterr.c | 1 | ||||
| -rw-r--r-- | fs/smb/client/nterr.h | 1 | ||||
| -rw-r--r-- | fs/smb/client/smb1maperror.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/fs/smb/client/nterr.c b/fs/smb/client/nterr.c index 1c5d7199f556..28b6320f2d21 100644 --- a/fs/smb/client/nterr.c +++ b/fs/smb/client/nterr.c @@ -679,6 +679,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_QUOTA_LIST_INCONSISTENT", NT_STATUS_QUOTA_LIST_INCONSISTENT}, {"NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE}, + {"NT_STATUS_VOLUME_DISMOUNTED", NT_STATUS_VOLUME_DISMOUNTED}, {"NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, diff --git a/fs/smb/client/nterr.h b/fs/smb/client/nterr.h index 1aa4bc394405..2056831ea631 100644 --- a/fs/smb/client/nterr.h +++ b/fs/smb/client/nterr.h @@ -550,6 +550,7 @@ extern const struct nt_err_code_struct nt_errs[]; #define NT_STATUS_TOO_MANY_LINKS (0xC0000000 | 0x0265) #define NT_STATUS_QUOTA_LIST_INCONSISTENT (0xC0000000 | 0x0266) #define NT_STATUS_FILE_IS_OFFLINE (0xC0000000 | 0x0267) +#define NT_STATUS_VOLUME_DISMOUNTED (0xC0000000 | 0x026e) #define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275) #define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c) #define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */ diff --git a/fs/smb/client/smb1maperror.c b/fs/smb/client/smb1maperror.c index 3085e2084f99..164b721c7dda 100644 --- a/fs/smb/client/smb1maperror.c +++ b/fs/smb/client/smb1maperror.c @@ -658,7 +658,7 @@ static const struct { ERRDOS, ErrTooManyLinks, NT_STATUS_TOO_MANY_LINKS}, { ERRHRD, ERRgeneral, NT_STATUS_QUOTA_LIST_INCONSISTENT}, { ERRHRD, ERRgeneral, NT_STATUS_FILE_IS_OFFLINE}, { - ERRDOS, 21, 0xc000026e}, { + ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, { ERRDOS, 161, 0xc0000281}, { ERRDOS, ERRnoaccess, 0xc000028a}, { ERRDOS, ERRnoaccess, 0xc000028b}, { |
