Commit 5045eedf by Daniel Lezcano Committed by Daniel Lezcano

disable rootfs automatic detection

Avoid a warning at compile time by disabling temporary the code. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent cc6f6dd7
...@@ -177,7 +177,7 @@ static struct caps_opt caps_opt[] = { ...@@ -177,7 +177,7 @@ static struct caps_opt caps_opt[] = {
{ "mac_admin", CAP_MAC_ADMIN }, { "mac_admin", CAP_MAC_ADMIN },
}; };
#if 0 /* will be reactivated with image mounting support */
static int configure_find_fstype_cb(char* buffer, void *data) static int configure_find_fstype_cb(char* buffer, void *data)
{ {
struct cbarg { struct cbarg {
...@@ -358,6 +358,7 @@ static int configure_rootfs(const char *name, const char *rootfs) ...@@ -358,6 +358,7 @@ static int configure_rootfs(const char *name, const char *rootfs)
ERROR("unsupported rootfs type for '%s'", absrootfs); ERROR("unsupported rootfs type for '%s'", absrootfs);
return -1; return -1;
} }
#endif
static int setup_utsname(struct utsname *utsname) static int setup_utsname(struct utsname *utsname)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment