Re: [PATCH 5/7] btrfs: Add missing annotation for btrfs_lock_cluster()

From: David Sterba
Date: Wed Apr 01 2020 - 11:58:21 EST


On Tue, Mar 31, 2020 at 09:46:41PM +0100, Jules Irenge wrote:
> Sparse reports a warning at btrfs_lock_cluster()
>
> warning: context imbalance in btrfs_lock_cluster()
> - wrong count
>
> The root cause is the missing annotation at btrfs_lock_cluster()
> Add the missing __acquires(&cluster->refill_lock) annotation.
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>

Thanks, I'll add it to devel queue.