Signed-off-by: Felix Fietkau <nbd@nbd.name>
FS_DEADCODE,
FS_UBIFS,
FS_F2FS,
+ FS_EXT4,
};
enum fs_state {
static char *overlay_fs_name(int type)
{
switch (type) {
+ case FS_EXT4:
+ return "ext4";
case FS_F2FS:
return "f2fs";
case FS_UBIFS:
foreachdir("/overlay/", handle_whiteout);
break;
+ case FS_EXT4:
case FS_F2FS:
case FS_UBIFS:
if (overlay_mount(v, overlay_fs_name(type)))
ULOG_NOTE("jffs2 not ready yet, using temporary tmpfs overlay\n");
return ramoverlay();
+ case FS_EXT4:
case FS_F2FS:
case FS_JFFS2:
case FS_UBIFS:
case FS_DEADCODE:
return jffs2_switch(v);
+ case FS_EXT4:
case FS_F2FS:
case FS_JFFS2:
case FS_UBIFS: