]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
smb/client: rename ERRinvlevel to ERRunknownlevel
authorHuiwen He <hehuiwen@kylinos.cn>
Wed, 21 Jan 2026 11:48:58 +0000 (19:48 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 9 Feb 2026 03:24:41 +0000 (21:24 -0600)
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>
fs/smb/client/smb1maperror.c
fs/smb/client/smberr.h

index 6347b2b856e52ea08bd39bee6f488c1a319d636f..0735f7ed676d925946b74148f2a866ff63c0daf2 100644 (file)
@@ -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 }
 };
 
index aeffdad829e2e4289f97328e0d6cc1c22dc30a85..6fb63f9e9a95a3bff0c2e269c155eec9d7358aed 100644 (file)
@@ -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