aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorShyam Prasad N <[email protected]>2022-01-01 12:50:21 +0000
committerSteve French <[email protected]>2022-06-23 00:51:43 +0000
commitaa45dadd34e44fcd6a9df4b395bee5b5633b4cec (patch)
tree102dd763484880c7a29ff85367b28be52ffcbf8f /scripts/clang-tools/gen_compile_commands.py
parentsmb3: use netname when available on secondary channels (diff)
downloadkernel-aa45dadd34e44fcd6a9df4b395bee5b5633b4cec.tar.gz
kernel-aa45dadd34e44fcd6a9df4b395bee5b5633b4cec.zip
cifs: change iface_list from array to sorted linked list
A server's published interface list can change over time, and needs to be updated. We've storing iface_list as a simple array, which makes it difficult to manipulate an existing list. With this change, iface_list is modified into a linked list of interfaces, which is kept sorted by speed. Also added a reference counter for an iface entry, so that each channel can maintain a backpointer to the iface and drop it easily when needed. Signed-off-by: Shyam Prasad N <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions