[Devel] [PATCH RHEL8 COMMIT] ve: Drop leftover in ve_configure()

Konstantin Khorenko khorenko at virtuozzo.com
Wed Jun 10 18:55:38 MSK 2020


The commit is pushed to "branch-rh8-4.18.0-80.1.2.vz8.3.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-80.1.2.vz8.3.11
------>
commit a935461cdd8d26155dc23ce5f0d908d85f102fd4
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Wed Jun 10 10:46:06 2020 +0300

    ve: Drop leftover in ve_configure()
    
    This is a leftover of VE_CONFIGURE_OS_RELEASE ioctl,
    we don't support it now.
    
    Fixes: 91b395f548de ("ve: Add vecalls")
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 kernel/ve/vecalls.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/kernel/ve/vecalls.c b/kernel/ve/vecalls.c
index 76f55d382a48..78773c21b8db 100644
--- a/kernel/ve/vecalls.c
+++ b/kernel/ve/vecalls.c
@@ -223,9 +223,6 @@ static int ve_configure(envid_t veid, unsigned int key,
 	if (!ve)
 		return -EINVAL;
 
-	switch(key) {
-	}
-
 	put_ve(ve);
 	return err;
 }


More information about the Devel mailing list