diff options
author | Pali Rohár <pali@kernel.org> | 2024-12-26 16:27:16 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-01-20 04:46:42 +0300 |
commit | 6d08851c601328025615d779c08753067ecefa34 (patch) | |
tree | 978feb540547cb7b0f5406b78ca62cc176aa581a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 014fdae602c1dd23f967d539c8174d6aca689763 (diff) | |
download | linux-6d08851c601328025615d779c08753067ecefa34.tar.xz |
cifs: Fix printing Status code into dmesg
NT Status code is 32-bit number, so for comparing two NT Status codes is
needed to check all 32 bits, and not just low 24 bits.
Before this change kernel printed message:
"Status code returned 0x8000002d NT_STATUS_NOT_COMMITTED"
It was incorrect as because NT_STATUS_NOT_COMMITTED is defined as
0xC000002d and 0x8000002d has defined name NT_STATUS_STOPPED_ON_SYMLINK.
With this change kernel prints message:
"Status code returned 0x8000002d NT_STATUS_STOPPED_ON_SYMLINK"
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions