[Devel] [PATCH RHEL10 COMMIT] ve: Remove outdated comment about ve_can_attach()

Konstantin Khorenko khorenko at virtuozzo.com
Sat Dec 13 23:32:31 MSK 2025


The commit is pushed to "branch-rh10-6.12.0-55.13.1.3.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.2.24.vz10
------>
commit 1d2cb32187c8660ab8546775f99dfa19027ca4f7
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Fri Dec 12 17:01:46 2025 +0100

    ve: Remove outdated comment about ve_can_attach()
    
    Remove outdated comment mentioning ve_can_attach() which was removed
    in previous commit. ve_mutex also doesn't exist in the codebase.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-119941
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 kernel/ve/ve.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c
index c4791527e2cfc..321c35f4d2bfc 100644
--- a/kernel/ve/ve.c
+++ b/kernel/ve/ve.c
@@ -797,7 +797,6 @@ void ve_stop_ns(struct pid_namespace *pid_ns)
 	/*
 	 * Here the VE changes its state into stopping.
 	 * op_sem works as barrier for vzctl ioctls.
-	 * ve_mutex works as barrier for ve_can_attach().
 	 */
 	ve_set_state(ve, VE_STATE_STOPPING);
 	synchronize_rcu();


More information about the Devel mailing list