diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-08 21:26:23 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-30 03:12:02 +0300 |
commit | fc22945ecc2a0a028f3683115f98a922d506c284 (patch) | |
tree | 726c8894b7c3cbab66074722e3f242158846b70f /fs/nfsd/filecache.h | |
parent | c7b824c3d06c85e054caf86e227255112c5e3c38 (diff) | |
download | linux-fc22945ecc2a0a028f3683115f98a922d506c284.tar.xz |
NFSD: Set up an rhashtable for the filecache
Add code to initialize and tear down an rhashtable. The rhashtable
is not used yet.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/filecache.h')
-rw-r--r-- | fs/nfsd/filecache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/filecache.h b/fs/nfsd/filecache.h index 82051e1b8420..5cbfc61a7d7d 100644 --- a/fs/nfsd/filecache.h +++ b/fs/nfsd/filecache.h @@ -29,6 +29,7 @@ struct nfsd_file_mark { * never be dereferenced, only used for comparison. */ struct nfsd_file { + struct rhash_head nf_rhash; struct hlist_node nf_node; struct list_head nf_lru; struct rcu_head nf_rcu; |