[PATCH] liveupdate: use scoped_guard for mutex in session operations

Pratyush Yadav pratyush at kernel.org
Fri Aug 14 07:10:34 PDT 2026


On Fri, Aug 14 2026, Chenghao Duan wrote:

> Replace manually paired mutex_lock/unlock with scoped_guard to align
> with the coding style of the rest of the codebase and simplify locking
> paths.

No. This is done explicitly because we don't want to mix gotos with the
automatic cleanup-style locking. I don't think we should change this.

[...]

-- 
Regards,
Pratyush Yadav



More information about the kexec mailing list