summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/smb/client/nterr.c1
-rw-r--r--fs/smb/client/nterr.h1
-rw-r--r--fs/smb/client/smb1maperror.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/fs/smb/client/nterr.c b/fs/smb/client/nterr.c
index 38f28be12c30..fc81174aef5f 100644
--- a/fs/smb/client/nterr.c
+++ b/fs/smb/client/nterr.c
@@ -684,6 +684,7 @@ const struct nt_err_code_struct nt_errs[] = {
{"NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT",
NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT},
{"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED},
+ {"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED},
{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
{"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
diff --git a/fs/smb/client/nterr.h b/fs/smb/client/nterr.h
index a5595f234b0c..8b7d108ed9e4 100644
--- a/fs/smb/client/nterr.h
+++ b/fs/smb/client/nterr.h
@@ -554,6 +554,7 @@ extern const struct nt_err_code_struct nt_errs[];
#define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275)
#define NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT (0xC0000000 | 0x0281)
#define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a)
+#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)
#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)
#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */
#define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
diff --git a/fs/smb/client/smb1maperror.c b/fs/smb/client/smb1maperror.c
index 175732910909..32a57ac2c789 100644
--- a/fs/smb/client/smb1maperror.c
+++ b/fs/smb/client/smb1maperror.c
@@ -661,7 +661,7 @@ static const struct {
ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, {
ERRDOS, 161, NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, {
ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, {
- ERRDOS, ERRnoaccess, 0xc000028b}, {
+ ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, {
ERRHRD, ERRgeneral, 0xc000028c}, {
ERRDOS, ERRnoaccess, 0xc000028d}, {
ERRDOS, ERRnoaccess, 0xc000028e}, {