aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2019-08-09 14:42:28 +0200
committerTheodore Ts'o <[email protected]>2019-10-21 09:16:45 -0400
commitd8ede917f5cd472e344be636d62b8e1f10bdae5e (patch)
treed9afa399013190f070b3d9852ee5938c2f775f72
parentd84560f74d852ea0cf663edeaee3a470917c2f36 (diff)
jbd2: Remove jbd_trylock_bh_state()
No users. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: [email protected] Cc: "Theodore Ts'o" <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
-rw-r--r--include/linux/jbd2.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index 603fbc4e2f70..7fb4d98e2adb 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -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);