mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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:
parent
1839fc66f1
commit
58e2d39f21
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue