Re: [PATCH v2 03/13] rust: lock: introduce `Mutex`

From: Greg KH
Date: Wed Apr 05 2023 - 14:09:17 EST


On Wed, Apr 05, 2023 at 02:51:01PM -0300, Wedson Almeida Filho wrote:
> +void rust_helper_mutex_lock(struct mutex *lock)
> +{
> + mutex_lock(lock);
> +}
> +EXPORT_SYMBOL_GPL(rust_helper_mutex_lock);
> +

No need to ever unlock a mutex?

thanks,

greg k-h