projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf65e49
)
NFSv4.2: xattr cache: remove unused cache struct field
author
Frank van der Linden
<fllinden@amazon.com>
Thu, 27 Aug 2020 20:46:55 +0000
(20:46 +0000)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Mon, 21 Sep 2020 14:21:10 +0000
(10:21 -0400)
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>
fs/nfs/nfs42xattr.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs42xattr.c
b/fs/nfs/nfs42xattr.c
index 86777996cfecde827c8540293ec536591187aefe..22396a7eebe1f35f7114ebb9345de2820b3e7411 100644
(file)
--- 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;