[Devel] [PATCH rh7] dummy: remove redundant dummy modules

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 22 09:07:33 PDT 2015


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/vzdquota.c  - 2nd level quota for vzfs
   kernel/ve/dummy/vzlinkdev.c - link between CT and HN for concerto license

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(-)
 delete mode 100644 kernel/ve/dummy/vzcompat.c
 delete mode 100644 kernel/ve/dummy/vzcon.c
 delete mode 100644 kernel/ve/dummy/vzcpt.c
 delete mode 100644 kernel/ve/dummy/vzdquota.c
 delete mode 100644 kernel/ve/dummy/vzlinkdev.c
 delete mode 100644 kernel/ve/dummy/vzrst.c
 delete mode 100644 kernel/ve/dummy/vzsnap.c

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");
-- 
1.8.3.1




More information about the Devel mailing list