libfstools: call volume_init() before accessing v->blk
[project/fstools.git] / mount_root.c
index 6e06b45806e5e05ae660f7692a6a1585bd220ef4..dbe1d658569a3498b7ef59dd48e19634cd8632c1 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");