]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
jbd2: Remove jbd_trylock_bh_state()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 9 Aug 2019 12:42:28 +0000 (14:42 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Oct 2019 13:16:45 +0000 (09:16 -0400)
No users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org
Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20190809124233.13277-3-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
include/linux/jbd2.h

index 603fbc4e2f70d6ecc2f3183cf5f904724a1c8def..7fb4d98e2adb12c0dd890e4337e14de4cd5282ab 100644 (file)
@@ -347,11 +347,6 @@ static inline void jbd_lock_bh_state(struct buffer_head *bh)
        bit_spin_lock(BH_State, &bh->b_state);
 }
 
-static inline int jbd_trylock_bh_state(struct buffer_head *bh)
-{
-       return bit_spin_trylock(BH_State, &bh->b_state);
-}
-
 static inline int jbd_is_locked_bh_state(struct buffer_head *bh)
 {
        return bit_spin_is_locked(BH_State, &bh->b_state);