Skip to content

Commit

Permalink
jbd2: Remove jbd_trylock_bh_state()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and Theodore Ts'o committed Oct 21, 2019
1 parent d84560f commit d8ede91
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/jbd2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d8ede91

Please sign in to comment.