On Wed, Jun 11, 2025 at 01:19:43PM +0200, Christian Brauner wrote: > This feels well-suited for a DEFINE_FREE based annotation so that > unpin_mountpoint() is called when the scope ends. FWIW, I'd be more interested in having unlock_mount() treated that way, but I'm not sure what syntax would make sense there. scoped_cond_guard() is not a good fit, unfortunately...