mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
More FAT32 fixes
svn path=/trunk/; revision=1609
This commit is contained in:
parent
c93d52a405
commit
c87bd2d365
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* $Id: fat.c,v 1.17 2001/02/06 00:41:19 dwelch Exp $
|
||||
* $Id: fat.c,v 1.18 2001/02/06 20:17:35 dwelch Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -62,7 +62,7 @@ Fat32GetNextCluster (PDEVICE_EXTENSION DeviceExt,
|
|||
}
|
||||
}
|
||||
|
||||
CurrentCluster = *((PUSHORT)BaseAddress + (FATOffset % PAGESIZE));
|
||||
CurrentCluster = *(PULONG)(BaseAddress + (FATOffset % PAGESIZE));
|
||||
if (CurrentCluster >= 0xffffff8 && CurrentCluster <= 0xfffffff)
|
||||
CurrentCluster = 0xffffffff;
|
||||
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
|
||||
|
|
Loading…
Reference in a new issue