[Devel] [PATCH RHEL7 COMMIT] dummy: remove redundant dummy modules
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jun 24 02:24:45 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.17
------>
commit 4832030054b222ff460cccd0a6a1032a180b9456
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Wed Jun 24 13:24:45 2015 +0400
dummy: remove redundant dummy modules
Not going to be ever filled and service vz does not depend on them anymore:
kernel/ve/dummy/vzcpt.c - in-kernel cpt
kernel/ve/dummy/vzrst.c - in-kernel cpt
kernel/ve/dummy/vzsnap.c - used for Acronis backup
kernel/ve/dummy/vzcompat.c - ancient compat
kernel/ve/dummy/vzcon.c - does not exist even in PCS6
kernel/ve/dummy/vzlinkdev.c - link between CT and HN for concerto license
kernel/ve/dummy/vzdquota.c - 2nd level quota for vzfs and simfs
vzfs is not supported in Virtuozzo 7 and simfs without quota == bindmount,
so we'll teach vzctl to create Containers using bindmounts and remove
simfs as well.
https://jira.sw.ru/browse/PSBM-31333
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
kernel/ve/Makefile | 7 -------
kernel/ve/dummy/vzcompat.c | 21 ---------------------
kernel/ve/dummy/vzcon.c | 21 ---------------------
kernel/ve/dummy/vzcpt.c | 21 ---------------------
kernel/ve/dummy/vzdquota.c | 21 ---------------------
kernel/ve/dummy/vzlinkdev.c | 21 ---------------------
kernel/ve/dummy/vzrst.c | 21 ---------------------
kernel/ve/dummy/vzsnap.c | 21 ---------------------
8 files changed, 154 deletions(-)
diff --git a/kernel/ve/Makefile b/kernel/ve/Makefile
index 512ccf0..c45948f 100644
--- a/kernel/ve/Makefile
+++ b/kernel/ve/Makefile
@@ -23,10 +23,3 @@ obj-$(CONFIG_VZ_IOLIMIT) += vziolimit.o
obj-m += dummy/ip6_vzprivnet.o
obj-m += dummy/ip_vzprivnet.o
obj-m += dummy/pio_nfs.o
-obj-m += dummy/vzcompat.o
-obj-m += dummy/vzcon.o
-obj-m += dummy/vzdquota.o
-obj-m += dummy/vzlinkdev.o
-obj-m += dummy/vzsnap.o
-obj-m += dummy/vzcpt.o
-obj-m += dummy/vzrst.o
diff --git a/kernel/ve/dummy/vzcompat.c b/kernel/ve/dummy/vzcompat.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzcompat.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
diff --git a/kernel/ve/dummy/vzcon.c b/kernel/ve/dummy/vzcon.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzcon.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
diff --git a/kernel/ve/dummy/vzcpt.c b/kernel/ve/dummy/vzcpt.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzcpt.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
diff --git a/kernel/ve/dummy/vzdquota.c b/kernel/ve/dummy/vzdquota.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzdquota.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
diff --git a/kernel/ve/dummy/vzlinkdev.c b/kernel/ve/dummy/vzlinkdev.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzlinkdev.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
diff --git a/kernel/ve/dummy/vzrst.c b/kernel/ve/dummy/vzrst.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzrst.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
diff --git a/kernel/ve/dummy/vzsnap.c b/kernel/ve/dummy/vzsnap.c
deleted file mode 100644
index 908234e..0000000
--- a/kernel/ve/dummy/vzsnap.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *
- * Copyright (c) 2015 Parallels IP Holdings GmbH
- *
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-
-int __init dummy_init(void)
-{
- return 0;
-}
-
-void __exit dummy_exit(void)
-{
-}
-
-module_init(dummy_init);
-module_exit(dummy_exit);
-MODULE_LICENSE("GPL v2");
More information about the Devel
mailing list