1
0
Fork 0
forked from len0rd/rockbox

properly remount the filesystem after usb disconnect with software usb

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18323 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-08-20 20:32:12 +00:00
parent 0d49141637
commit b3bebc73d5

View file

@ -324,6 +324,9 @@ static void usb_thread(void)
#ifdef HAVE_USBSTACK
if(exclusive_ata_access)
{
int rc = disk_mount_all();
if (rc <= 0) /* no partition */
panicf("mount: %d",rc);
exclusive_ata_access = false;
#endif
/* Tell all threads that we are back in business */