FAT(X)IsDirectoryEmpty: When done with one page, go to the next one instead of reading the same page over again. Fixes inability to remove directories that previously had many files in them.

svn path=/trunk/; revision=39889
This commit is contained in:
Jeffrey Morlan 2009-03-06 17:23:29 +00:00
parent 1839fc66f1
commit 58e2d39f21

View file

@ -72,6 +72,7 @@ FATIsDirectoryEmpty(PVFATFCB Fcb)
}
FatDirEntry += Index % FAT_ENTRIES_PER_PAGE;
FileOffset.QuadPart += PAGE_SIZE;
}
if (FAT_ENTRY_END(FatDirEntry))
@ -125,6 +126,7 @@ FATXIsDirectoryEmpty(PVFATFCB Fcb)
}
FatXDirEntry += Index % FATX_ENTRIES_PER_PAGE;
FileOffset.QuadPart += PAGE_SIZE;
}
if (FATX_ENTRY_END(FatXDirEntry))