Harmony 2.04 FS mount bug

Author
friesen
Super Member
  • Total Posts : 1725
  • Reward points : 0
  • Joined: 2008/05/08 05:23:35
  • Location: Indiana, USA
  • Status: offline
2017/11/14 11:44:47 (permalink)
0

Harmony 2.04 FS mount bug

I find that SYS_FS_Mount fails in certain scenarios.  If there are failed mounts, SYS_FS_Mount fails to clear disk->inUse = true; if the mount fails for any reason after that.  This then fills all available mounts inUse so subsequent mounts fail.
 
As near as I can tell, this is what needs to happen to fix.
 
Comment out 
 
    
//gSYSFSCurrentMountPoint.inUse = true;
//gSYSFSCurrentMountPoint.currentDisk = disk;

 
Near line 374
 
    
 
if (fileStatus == 0) {
       gSYSFSCurrentMountPoint.inUse = true;
       gSYSFSCurrentMountPoint.currentDisk = disk;
       return SYS_FS_RES_SUCCESS;
} else
{
       disk->inUse = false;
       errorValue = fileStatus;
       return SYS_FS_RES_FAILURE;
}

 
 
post edited by friesen - 2017/11/14 11:46:45

Erik Friesen
#1

0 Replies Related Threads

    Jump to:
    © 2017 APG vNext Commercial Version 4.5