On Fri, Apr 05, 2024 at 08:34:18AM +0200, Christoph Hellwig wrote: > > Is that a known issue? > > I see that too, and it really confuses me as we have the proper > annotations there. I'll see what I can do. Seems like sparse lock annotations are really confused by inline function, because if I create an inline wrapper for queue_limits_commit_update that does the locking, that sorts out the warning and removes the need for any annotations. I'll cook up a proper patch for that and will ask Jens if this isn't too ugly.