summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHuiwen He <hehuiwen@kylinos.cn>2026-01-21 19:48:58 +0800
committerSteve French <stfrench@microsoft.com>2026-02-08 21:24:41 -0600
commitac635d68bac8a25a4b65670add8d50ec0b6cdf33 (patch)
tree6fb8aed935cb1ae5abfa02da88bd8bf50f39c427 /fs
parentcd55c6e31189c3a8436bb073c54668da08ba9e54 (diff)
smb/client: rename ERRinvlevel to ERRunknownlevel
See MS-CIFS 2.2.2.4 ERRunknownlevel. Keep the name consistent with the documentation. Signed-off-by: Huiwen He <hehuiwen@kylinos.cn> Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/smb/client/smb1maperror.c4
-rw-r--r--fs/smb/client/smberr.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/smb/client/smb1maperror.c b/fs/smb/client/smb1maperror.c
index 6347b2b856e5..0735f7ed676d 100644
--- a/fs/smb/client/smb1maperror.c
+++ b/fs/smb/client/smb1maperror.c
@@ -47,7 +47,7 @@ static const struct smb_to_posix_error mapping_table_ERRDOS[] = {
{ERRinvparm, -EINVAL},
{ERRdiskfull, -ENOSPC},
{ERRinvname, -ENOENT},
- {ERRinvlevel, -EOPNOTSUPP},
+ {ERRunknownlevel, -EOPNOTSUPP},
{ERRdirnotempty, -ENOTEMPTY},
{ERRnotlocked, -ENOLCK},
{ERRcancelviolation, -ENOLCK},
@@ -669,7 +669,7 @@ static const struct {
ERRDOS, ERRnoaccess, 0xc0000290}, {
ERRDOS, ERRbadfunc, 0xc000029c}, {
ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {
- ERRDOS, ERRinvlevel, NT_STATUS_OS2_INVALID_LEVEL}, {
+ ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, {
0, 0, 0 }
};
diff --git a/fs/smb/client/smberr.h b/fs/smb/client/smberr.h
index aeffdad829e2..6fb63f9e9a95 100644
--- a/fs/smb/client/smberr.h
+++ b/fs/smb/client/smberr.h
@@ -80,7 +80,7 @@
#define ERRinvparm 87
#define ERRdiskfull 112
#define ERRinvname 123
-#define ERRinvlevel 124
+#define ERRunknownlevel 124
#define ERRdirnotempty 145
#define ERRnotlocked 158
#define ERRcancelviolation 173