summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authorTrond Myklebust2014-08-06 19:44:22 +0200
committerJ. Bruce Fields2014-08-17 18:00:12 +0200
commit11acf6ef3b58abd1c5eb94eaa38ed3b9dbc387f7 (patch)
tree560ccca1947632495815d19ecfd8e81d1dc496d4 /fs/nfsd/cache.h
parentnfsd: convert the lru list into a per-bucket thing (diff)
downloadkernel-qcow2-linux-11acf6ef3b58abd1c5eb94eaa38ed3b9dbc387f7.tar.gz
kernel-qcow2-linux-11acf6ef3b58abd1c5eb94eaa38ed3b9dbc387f7.tar.xz
kernel-qcow2-linux-11acf6ef3b58abd1c5eb94eaa38ed3b9dbc387f7.zip
nfsd: Remove the cache_hash list
Now that the lru list is per-bucket, we don't need a second list for searches. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/cache.h')
-rw-r--r--fs/nfsd/cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h
index b582f9ab6b2a..dd96a3830004 100644
--- a/fs/nfsd/cache.h
+++ b/fs/nfsd/cache.h
@@ -18,7 +18,6 @@
* is much larger than a sockaddr_in6.
*/
struct svc_cacherep {
- struct hlist_node c_hash;
struct list_head c_lru;
unsigned char c_state, /* unused, inprog, done */