[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7fa750b2be9523b229105e780c0ef3d9eed20009.1724250464.git.christophe.jaillet@wanadoo.fr>
Date: Wed, 21 Aug 2024 16:27:57 +0200
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: David Howells <dhowells@...hat.com>,
Marc Dionne <marc.dionne@...istor.com>
Cc: linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
linux-afs@...ts.infradead.org
Subject: [PATCH] afs: Remove the unused lock_manager_mutex field from struct afs_net
'lock_manager_mutex' has been introduced in commit f044c8847bb6 ("afs: Lay
the groundwork for supporting network namespaces") in 2017-12, but was
already unused at this time.
It is still unused now, so remove it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
---
Compile tested only
---
fs/afs/internal.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 6e1d3c4daf72..a09459cebba9 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -331,9 +331,6 @@ struct afs_net {
struct timer_list fs_probe_timer;
atomic_t servers_outstanding;
- /* File locking renewal management */
- struct mutex lock_manager_mutex;
-
/* Misc */
struct super_block *dynroot_sb; /* Dynamic root mount superblock */
struct proc_dir_entry *proc_afs; /* /proc/net/afs directory */
--
2.46.0
Powered by blists - more mailing lists