Reverted latest changes.
[reactos.git] / reactos / drivers / fs / vfat / direntry.c
index 210c72c..83fc9b8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: direntry.c,v 1.7 2002/09/07 15:12:03 chorns Exp $
+/* $Id: direntry.c,v 1.8 2002/09/08 10:22:12 chorns Exp $
  *
  *
  * FILE:             DirEntry.c
@@ -20,8 +20,8 @@
 
 #include "vfat.h"
 
-#define  CACHEPAGESIZE(pDeviceExt) ((pDeviceExt)->FatInfo.BytesPerCluster > PAGE_SIZE ? \
-                  (pDeviceExt)->FatInfo.BytesPerCluster : PAGE_SIZE)
+#define  CACHEPAGESIZE(pDeviceExt) ((pDeviceExt)->FatInfo.BytesPerCluster > PAGESIZE ? \
+                  (pDeviceExt)->FatInfo.BytesPerCluster : PAGESIZE)
 
 #define  ENTRIES_PER_CACHEPAGE(pDeviceExt)  (ENTRIES_PER_SECTOR * \
                   (CACHEPAGESIZE(pDeviceExt) / ((pDeviceExt)->FatInfo.BytesPerSector)))