Re: [PATCH v4 2/3] btrfs: rename delete_unused_bgs_mutex

2021-04-16 Thread David Sterba
On Thu, Apr 15, 2021 at 10:58:34PM +0900, Johannes Thumshirn wrote: > --- a/fs/btrfs/ctree.h > +++ b/fs/btrfs/ctree.h > @@ -957,7 +957,7 @@ struct btrfs_fs_info { > spinlock_t unused_bgs_lock; > struct list_head unused_bgs; > struct mutex unused_bg_unpin_mutex; > - struct mute

Re: [PATCH v4 2/3] btrfs: rename delete_unused_bgs_mutex

2021-04-16 Thread Filipe Manana
On Thu, Apr 15, 2021 at 3:00 PM Johannes Thumshirn wrote: > > As a preparation for another user, rename the unused_bgs_mutex into > reclaim_bgs_lock. > > Signed-off-by: Johannes Thumshirn Reviewed-by: Filipe Manana Looks good, thanks. > --- > fs/btrfs/block-group.c | 6 +++--- > fs/btrfs/ct

Re: [PATCH v4 2/3] btrfs: rename delete_unused_bgs_mutex

2021-04-15 Thread Josef Bacik
On 4/15/21 9:58 AM, Johannes Thumshirn wrote: As a preparation for another user, rename the unused_bgs_mutex into reclaim_bgs_lock. Signed-off-by: Johannes Thumshirn Reviewed-by: Josef Bacik Thanks, Josef