jbd2: remove unused t_handle_lock
authorWang Jianjian <wangjianjian0@foxmail.com>
Wed, 2 Aug 2023 14:45:34 +0000 (22:45 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 5 Aug 2023 12:18:04 +0000 (08:18 -0400)
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 <wangjianjian0@foxmail.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/tencent_8477CBE568348A1862C64E393D587B342008@qq.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
include/linux/jbd2.h

index 44c298aa58d44bf43878eae07078ec6879de8d8b..52772c826c8682086a15d4dced31d34cc5ceeb04 100644 (file)
@@ -630,11 +630,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
         */