[Devel] [PATCH RHEL10 COMMIT] fixup! ve/umh: introduce per-container user mode helper macroses and functions

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jun 5 21:32:13 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit 8a412597f15c78a86b5faa1a39349b6ce8424b17
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Tue Jun 2 21:10:40 2026 +0000

    fixup! ve/umh: introduce per-container user mode helper macroses and functions
    
    Fix compilation error:
    ./include/linux/umh.h:64:36: error: pasting "(" and "argv"
    does not give a valid preprocessing token: fix vararg expansion
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
    Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
---
 include/linux/umh.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/umh.h b/include/linux/umh.h
index 35fc4023df74b..a71a5e4434fb4 100644
--- a/include/linux/umh.h
+++ b/include/linux/umh.h
@@ -61,10 +61,10 @@ extern void wait_khelpers(struct ve_struct *ve);
 #else /* CONFIG_VE */
 
 #define call_usermodehelper_ve(ve, ...)		\
-		call_usermodehelper(##__VA_ARGS__)
+		call_usermodehelper(__VA_ARGS__)
 
 #define call_usermodehelper_exec_ve(ve, ...)	\
-		call_usermodehelper_exec_ve(##__VA_ARGS__)
+		call_usermodehelper_exec(__VA_ARGS__)
 
 #endif /* CONFIG_VE */
 


More information about the Devel mailing list