]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb/client: update some SMB2 status strings
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Sat, 6 Dec 2025 15:18:25 +0000 (23:18 +0800)
committerSteve French <stfrench@microsoft.com>
Sun, 7 Dec 2025 17:46:19 +0000 (11:46 -0600)
commitd8f52650b24d9018dfb65d2c60e17636b077e63e
tree20e1e72716c016a865abab403f1a941dccb0565d
parent9146c7e53fa8e5024e0f61d67129afd45a179a3b
smb/client: update some SMB2 status strings

The smb2maperror KUnit tests reported the following errors:

  KTAP version 1
  1..1
      KTAP version 1
      # Subtest: smb2_maperror
      # module: cifs
      1..2
      ok 1 maperror_test_check_sort
      # maperror_test_check_search: EXPECTATION FAILED at fs/smb/client/smb2maperror_test.c:40
      Expected expect->status_string == result->status_string, but
          expect->status_string == "STATUS_ABANDONED_WAIT_0"
          result->status_string == "STATUS_ABANDONED"
      # maperror_test_check_search: EXPECTATION FAILED at fs/smb/client/smb2maperror_test.c:40
      Expected expect->status_string == result->status_string, but
          expect->status_string == "STATUS_FWP_TOO_MANY_CALLOUTS"
          result->status_string == "STATUS_FWP_TOO_MANY_BOOTTIME_FILTERS"
      not ok 2 maperror_test_check_search
  # smb2_maperror: pass:1 fail:1 skip:0 total:2
  # Totals: pass:1 fail:1 skip:0 total:2
  not ok 1 smb2_maperror

These status codes have duplicate values, so update the status strings to
make the log messages more explicit.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2maperror.c