added some optimisation for the case where the number of open files is
authorAndrew Tridgell <tridge@samba.org>
Mon, 17 Aug 1998 06:47:53 +0000 (06:47 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 17 Aug 1998 06:47:53 +0000 (06:47 +0000)
commit1eb9ae2996b5a243a147f485e7e353d54f820852
tree6f335f5f8d3a7530e25fb273c354c16ea419c543
parent01b642a3793a1bea0517370a9a64945fd86ddf02
added some optimisation for the case where the number of open files is
very large. files.c now promotes a files_struct to the top of the list
if it is used when it is more than 10 elements from the top.

also moved common linked list code for the 5 sets of linked lists that
I've created over the past few days into dlinklist.h (I've explained
to Chris why I didn't use the ubiqx code)
source/include/dlinklist.h [new file with mode: 0644]
source/include/includes.h
source/lib/util_hnd.c
source/rpc_server/srv_lsa_hnd.c
source/rpc_server/srv_pipe_hnd.c
source/smbd/conn.c
source/smbd/files.c