On 22/11/2023 4:39 pm, Frediano Ziglio wrote: > In case it's not possible to enable memory sharing (mem_sharing_control > fails) we just return the error code without releasing the domain > acquired some lines above by rcu_lock_live_remote_domain_by_id.
Fixes: 72f8d45d69b8 ("x86/mem_sharing: enable mem_sharing on first memop")
> Signed-off-by: Frediano Ziglio <[email protected]>
Reviewed-by: Andrew Cooper <[email protected]>
That was simply a broken transformation in the patch.
