romfs_dev: fix unmounting/corruption when mounting multiple.

This commit is contained in:
Michael Scire 2019-05-08 23:43:29 -07:00
parent e114a361be
commit 8eee80b70f

View File

@ -392,6 +392,7 @@ Result romfsMountCommon(const char *name, romfs_mount *mount)
if(AddDevice(&mount->device) < 0) if(AddDevice(&mount->device) < 0)
goto fail; goto fail;
mount->setup = true;
return 0; return 0;
fail: fail: