diff options
author | Frank van der Linden <fllinden@amazon.com> | 2020-08-27 23:46:55 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-09-21 17:21:10 +0300 |
commit | 68274f97aeb6ebcd74c391ddbff0b517b9b0ca0f (patch) | |
tree | fd6db1a502cd279c702dce504ddaa1852254ccd1 /fs/nfs | |
parent | cf65e49f89f2ccad54b1d560691cfa3cd371b2d2 (diff) | |
download | linux-68274f97aeb6ebcd74c391ddbff0b517b9b0ca0f.tar.xz |
NFSv4.2: xattr cache: remove unused cache struct field
The hash_lock field of the cache structure was a leftover
of a previous iteration of the code. It is now unused,
so remove it.
Signed-off-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs42xattr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs42xattr.c b/fs/nfs/nfs42xattr.c index 86777996cfec..22396a7eebe1 100644 --- a/fs/nfs/nfs42xattr.c +++ b/fs/nfs/nfs42xattr.c @@ -67,7 +67,6 @@ struct nfs4_xattr_bucket { struct nfs4_xattr_cache { struct kref ref; - spinlock_t hash_lock; /* protects hashtable and lru */ struct nfs4_xattr_bucket buckets[NFS4_XATTR_HASH_SIZE]; struct list_head lru; struct list_head dispose; |