[Devel] [PATCH] vzctl: Fix compilation on architectures without support for VZ

Andrey Vagin avagin at openvz.org
Thu Jun 6 15:06:20 PDT 2013


https://bugzilla.redhat.com/show_bug.cgi?id=971821

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 src/lib/cpt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/cpt.c b/src/lib/cpt.c
index d4fb7c0..01649ec 100644
--- a/src/lib/cpt.c
+++ b/src/lib/cpt.c
@@ -39,6 +39,9 @@
 #include "logger.h"
 #include "util.h"
 
+extern void clean_hardlink_dir(const char *mntdir) __attribute__((weak));
+void clean_hardlink_dir(const char *mntdir) {}
+
 int cpt_cmd(vps_handler *h, envid_t veid, const char *root,
 		int action, int cmd, unsigned int ctx)
 {
-- 
1.8.2




More information about the Devel mailing list