From 5045eedff022d8efe004741898254578b146c1eb Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Fri, 28 May 2010 17:39:11 +0200 Subject: [PATCH] disable rootfs automatic detection Avoid a warning at compile time by disabling temporary the code. Signed-off-by: Daniel Lezcano --- src/lxc/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.47.2