Skip to content

Commit

Permalink
NFSv4.2: xattr cache: remove unused cache struct field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frank van der Linden authored and Anna Schumaker committed Sep 21, 2020
1 parent cf65e49 commit 68274f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/nfs/nfs42xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68274f9

Please sign in to comment.