Re: [patch V2 4/7] fs/jbd2: Remove jbd_trylock_bh_state()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu 01-08-19 03:01:30, Thomas Gleixner wrote:
> No users.
> 
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: linux-ext4@xxxxxxxxxxxxxxx
> Cc: "Theodore Ts'o" <tytso@xxxxxxx>
> Cc: Jan Kara <jack@xxxxxxxx>

Right.

Reviewed-by: Jan Kara <jack@xxxxxxx>

								Honza

> ---
>  include/linux/jbd2.h |    5 -----
>  1 file changed, 5 deletions(-)
> 
> --- a/include/linux/jbd2.h
> +++ b/include/linux/jbd2.h
> @@ -347,11 +347,6 @@ static inline void jbd_lock_bh_state(str
>  	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);
> 
> 
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux