From: Daniel Lezcano Date: Fri, 28 May 2010 15:39:11 +0000 (+0200) Subject: disable rootfs automatic detection X-Git-Tag: lxc-0.7.0~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5045eedff022d8efe004741898254578b146c1eb;p=thirdparty%2Flxc.git disable rootfs automatic detection Avoid a warning at compile time by disabling temporary the code. Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index eb4e8467f..ba3966e5b 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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) {