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

Konstantin Khorenko khorenko at virtuozzo.com
Fri Dec 12 19:02:47 MSK 2025


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();
-- 
2.43.0



More information about the Devel mailing list