Re: [PATCH 2/3] block: Drop locking annotation for limits_lock

From: Bart Van Assche
Date: Fri Jun 14 2024 - 12:38:51 EST


On 6/14/24 2:03 AM, John Garry wrote:
Currently compiling block/blk-settings.c with C=1 gives the following
warning:
block/blk-settings.c:262:9: warning: context imbalance in 'queue_limits_commit_update' - wrong count at exit

request_queue.limits_lock is a mutex. Sparse locking annotation for
mutexes are currently not supported - see [0] - so drop that locking
annotation.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>