Author: jmorlan Date: Fri Mar 6 20:23:29 2009 New Revision: 39889
URL: http://svn.reactos.org/svn/reactos?rev=39889&view=rev Log: 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.
Modified: trunk/reactos/drivers/filesystems/fastfat/direntry.c
Modified: trunk/reactos/drivers/filesystems/fastfat/direntry.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat/direntry.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat/direntry.c [iso-8859-1] Fri Mar 6 20:23:29 2009 @@ -72,6 +72,7 @@ }
FatDirEntry += Index % FAT_ENTRIES_PER_PAGE; + FileOffset.QuadPart += PAGE_SIZE; }
if (FAT_ENTRY_END(FatDirEntry)) @@ -125,6 +126,7 @@ }
FatXDirEntry += Index % FATX_ENTRIES_PER_PAGE; + FileOffset.QuadPart += PAGE_SIZE; }
if (FATX_ENTRY_END(FatXDirEntry))