sunrpc/cache: change deferred-request hash table to use hlist.
authorNeilBrown <neilb@suse.de>
Thu, 12 Aug 2010 07:04:08 +0000 (17:04 +1000)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 22 Sep 2010 01:51:11 +0000 (21:51 -0400)
Being a hash table, hlist is the best option.

There is currently some ugliness were we treat "->next == NULL" as
a special case to avoid having to initialise the whole array.
This change nicely gets rid of that case.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found