2023-08-02 14:53:50

by Wang Jianjian

[permalink] [raw]
Subject: [PATCH] jbd2: Remove unused t_handle_lock

Since commit f7f497cb7024 ("jbd2: kill t_handle_lock
transaction spinlock"), this lock has been no use.

Fixes: f7f497cb7024 ("jbd2: kill t_handle_lock transaction spinlock")
Signed-off-by: Wang Jianjian <[email protected]>
Reviewed-by: Ritesh Harjani (IBM) <[email protected]>
---
include/linux/jbd2.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index d860499e15e4..8199235dbaf3 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -636,11 +636,6 @@ struct transaction_s
*/
struct list_head t_inode_list;

- /*
- * Protects info related to handles
- */
- spinlock_t t_handle_lock;
-
/*
* Longest time some handle had to wait for running transaction
*/
--
2.34.3



2023-08-05 13:06:59

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] jbd2: Remove unused t_handle_lock


On Wed, 02 Aug 2023 22:45:34 +0800, Wang Jianjian wrote:
> Since commit f7f497cb7024 ("jbd2: kill t_handle_lock
> transaction spinlock"), this lock has been no use.
>
>

Applied, thanks!

[1/1] jbd2: Remove unused t_handle_lock
commit: e15e117bbbe18258a5ad506bbf6c58ff129c9576

Best regards,
--
Theodore Ts'o <[email protected]>