mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user