]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: use xarray instead of linked list for tree connect list
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 1 Apr 2021 08:45:33 +0000 (17:45 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Apr 2021 00:20:50 +0000 (19:20 -0500)
commit7b4d7c91fb53b30df94557aaa08d860f5072b357
treea39efa709961ef64f426d4d5ff436fc0a2d6a226
parent50319eb83bc94823e4483b7263cbd47b5002aa4d
cifsd: use xarray instead of linked list for tree connect list

Matthew suggest to change linked list of tree connect list to xarray.
It will be tree connect lookup in O(log(n)) time instead of O(n) time.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/mgmt/tree_connect.c
fs/cifsd/mgmt/user_session.c
fs/cifsd/mgmt/user_session.h
fs/cifsd/smb2pdu.c