libfstools: call volume_init() before accessing v->blk
[project/fstools.git] / mount_root.c
index 6e06b45..dbe1d65 100644 (file)
@@ -56,6 +56,7 @@ start(int argc, char *argv[1])
        }
 
        /* There isn't extroot, so just try to mount "rootfs_data" */
+       volume_init(data);
        switch (volume_identify(data)) {
        case FS_NONE:
                ULOG_WARN("no usable overlay filesystem found, using tmpfs overlay\n");