]> git.proxmox.com Git - mirror_lxc.git/commitdiff
disable rootfs automatic detection
authorDaniel Lezcano <daniel.lezcano@free.fr>
Fri, 28 May 2010 15:39:11 +0000 (17:39 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 28 May 2010 15:39:11 +0000 (17:39 +0200)
Avoid a warning at compile time by disabling temporary the code.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c

index eb4e8467f95d85100e6664d98f53c69ef00078e7..ba3966e5b1ba2863009a4e406fc13b1d1025f4f1 100644 (file)
@@ -177,7 +177,7 @@ static struct caps_opt caps_opt[] = {
        { "mac_admin",         CAP_MAC_ADMIN         },
 };
 
-
+#if 0 /* will be reactivated with image mounting support */
 static int configure_find_fstype_cb(char* buffer, void *data)
 {
        struct cbarg {
@@ -358,6 +358,7 @@ static int configure_rootfs(const char *name, const char *rootfs)
        ERROR("unsupported rootfs type for '%s'", absrootfs);
        return -1;
 }
+#endif
 
 static int setup_utsname(struct utsname *utsname)
 {