Merge branch 'hotswap'

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23759 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-11-26 16:57:30 +00:00
parent b2dc7f004e
commit d052ced874
7 changed files with 282 additions and 125 deletions

View file

@ -74,7 +74,11 @@ int release_dirs(int volume)
int closed = 0;
for ( dd=0; dd<MAX_OPEN_DIRS; dd++, pdir++)
{
#ifdef HAVE_MULTIVOLUME
if (pdir->fatdir.file.volume == volume)
#else
(void)volume;
#endif
{
pdir->busy = false; /* mark as available, no further action */
closed++;