Remove RomFS devoptab device on unmount.

This commit is contained in:
Pablo Curiel 2019-06-08 05:37:18 -04:00 committed by fincs
parent 77f1d357e5
commit e3d7b12c96

View File

@ -423,6 +423,9 @@ Result romfsUnmount(const char *name)
if (mount == NULL)
return -1;
// Remove device
RemoveDevice(name);
romfs_mountclose(mount);
return 0;