summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorHuiwen He <hehuiwen@kylinos.cn>2026-04-02 17:18:31 +0300
committerSteve French <stfrench@microsoft.com>2026-04-06 03:58:40 +0300
commit3c6c23ed9424cfd5a648863dc058c52094b1b99d (patch)
treef7329bde0cee012dcb858c5ee39d78b327e9dfe8 /include/linux/stackprotector.h
parent772d5920c3d417fc4ba44c0b6fb61ca4f19f5809 (diff)
downloadlinux-3c6c23ed9424cfd5a648863dc058c52094b1b99d.tar.xz
smb/client: use binary search for NT status to DOS mapping
The ntstatus_to_dos_map[] table is sorted now. Replace the linear search with binary search to improve lookup performance. Also remove the sentinel entry as it is no longer needed with ARRAY_SIZE(). Signed-off-by: Huiwen He <hehuiwen@kylinos.cn> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions