]> Git Repo - linux.git/commit - fs/lockd/svcsubs.c
[PATCH] knfsd: change nlm_file to use a hlist
authorOlaf Kirch <[email protected]>
Wed, 4 Oct 2006 09:15:58 +0000 (02:15 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/lockd/svcsubs.c
include/linux/lockd/lockd.h
This page took 0.057873 seconds and 4 git commands to generate.