sunrpc: Switch to using hash list instead single list
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 27 Jul 2015 03:10:15 +0000 (11:10 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 13 Aug 2015 12:59:03 +0000 (08:59 -0400)
commit129e5824cd96d9289679973f0ff7c48e88d569bb
tree2b88f2934466625ccf85388ec80d10b2ac430d16
parentc8c081b70cb563cc4d41ab9933fa3323c6f6ffca
sunrpc: Switch to using hash list instead single list

Switch using list_head for cache_head in cache_detail,
it is useful of remove an cache_head entry directly from cache_detail.

v8, using hash list, not head list

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/cache.h
net/sunrpc/cache.c