]> err.no Git - linux-2.6/commit
[PATCH] knfsd: change nlm_file to use a hlist
authorOlaf Kirch <okir@suse.de>
Wed, 4 Oct 2006 09:15:58 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:17 +0000 (07:55 -0700)
commit07ba80635117c136714084e019375aa508365375
tree06160152e4b9c137669a5c833366858f72601895
parent68a2d76cea4234bc027df23085d9df4f2171f7fc
[PATCH] knfsd: change nlm_file to use a hlist

This changes struct nlm_file and the nlm_files hash table to use a hlist
instead of the home-grown lists.

This allows us to remove f_hash which was only used to find the right hash
chain to delete an entry from.

It also increases the size of the nlm_files hash table from 32 to 128.

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/lockd/svcsubs.c
include/linux/lockd/lockd.h