提交 d8ede917 编写于 作者: T Thomas Gleixner 提交者: Theodore Ts'o

jbd2: Remove jbd_trylock_bh_state()

No users.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Reviewed-by: NJan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org
Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: NJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20190809124233.13277-3-jack@suse.czSigned-off-by: NTheodore Ts'o <tytso@mit.edu>
上级 d84560f7
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册