Skip to content

Commit d8ede91

Browse files
KAGA-KOKOtytso
authored andcommitted
jbd2: Remove jbd_trylock_bh_state()
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>
1 parent d84560f commit d8ede91

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎include/linux/jbd2.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,6 @@ static inline void jbd_lock_bh_state(struct buffer_head *bh)
347347
bit_spin_lock(BH_State, &bh->b_state);
348348
}
349349

350-
static inline int jbd_trylock_bh_state(struct buffer_head *bh)
351-
{
352-
return bit_spin_trylock(BH_State, &bh->b_state);
353-
}
354-
355350
static inline int jbd_is_locked_bh_state(struct buffer_head *bh)
356351
{
357352
return bit_spin_is_locked(BH_State, &bh->b_state);

0 commit comments

Comments
 (0)